MySQL Forums
Forum List  »  InnoDB

Primary and foreign key
Posted by: Vanessa Réty
Date: July 15, 2005 11:36AM

Hello everybody,

To begin I inform you that I'm french so if my english is not right I ask you to pardon me.
I'm sorry

I try to create primary and foreign keys in several tables. But I don't succed to create foreign keys with 2 fileds which compose the primary key. If I have several fields in a primary key and those fields refered to others fields in others tables and that I want to declare them as foreign keys, there's always one of them that I don't succed to create.

I don't have any error but I see in MySQL Administrator that the kay is not created.

I hope you understood what I say and I thank you by advance for your answers.

Options: ReplyQuote


Subject
Views
Written By
Posted
Primary and foreign key
11674
July 15, 2005 11:36AM
5149
July 15, 2005 04:12PM
7836
July 16, 2005 03:22AM
4376
July 16, 2005 04:41AM
3935
July 16, 2005 06:45AM
3975
July 25, 2005 06:04PM


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.