Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on one column used as foreign key for multiple primary keys within the MY SQL forums, part of the Databases category; hai can I use a column as foreign key column for multiple primary keys from multiple tables...
|
|||||||
|
|||
|
Re: one column used as foreign key for multiple primary keys
You should not do that.
It is better to avoid such condition. Try to change your data model accordingly. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to update primary key which has foriegn keys exists | kittu4code | Oracle | 1 | 11-17-2008 03:20 AM |
| Primary key & foreign key | amitdba08 | Oracle | 7 | 10-06-2008 06:02 AM |
| How to alter the primary column | lekhrajdeshmukh | SQL | 2 | 02-05-2008 08:07 AM |
| Column for Primary Key | viveksqa | SQL | 3 | 01-23-2008 06:13 AM |
| Different data type for primary and foreign keys | Geek_Guest | SQL | 3 | 11-28-2007 04:45 AM |