On Mon, 26 Mar 2001, bswiatek wrote: Assuming you're doing these in this order, this can't succeed. LECZENIE referenes WIZYTY which isn't created yet as do some other tables, which causes those tables not to exist later when you reference them. If you want to make circular trees of references you need to use ALTER TABLE ADD CONSTRAINT to add the foreign key constraints after the create tables. > Hi > Can you tell me what I've done wrong writting that base. > Queries doesn't work. > That's bash script code which makes tah base ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]