MySQL Forums
Forum List  »  Newbie

Foreign Key
Posted by: n4sk4r
Date: July 24, 2005 02:49PM

Hi, I´ve the following problem:

I´ve a table "A" with primary key (a1, a2), and a table "B" where the PK of A is propaged to as follow:
(b1,b2) --> A(a1,a2)

With this I get an error in MySql front....
I also tried with a sql sentence and I get an error again.

Maybe Mysql does not allow foreign keys of more than one field?

Versions:
mysql-4.1.13.
mysql front 3.2 (compilacion 6.25)

Thanks ;)

Options: ReplyQuote


Subject
Written By
Posted
Foreign Key
July 24, 2005 02:49PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.