Re: [SQL] problem with uniques and foreing keys

2006-05-06 Thread kernel.alert kernel.alert
Sorry i had a mistake in the post it was with the definition of the primary key in the empresa table...I'm having the same error when i build the last table...thanks for your answers...  Hi list...Please i have a problem with this... I create the follow tables...

[SQL] problem with uniques and foreing keys

2006-05-06 Thread kernel.alert kernel.alert
Hi list...Please i have a problem with this...I create the follow tables...CREATE TABLE empresa (  id_empresa integer  NOT NULL primary key,   nombre varchar(45),);CREATE TABLE casino (  id_casino  integer  NOT NULL