Hi,
I have a design issue. Is it possible to declare a primary key of a table to be a foreign key as well? if its confusing please read on for an example of what I mean.
Suppose i have two tables, they both have the same primary key. Lets say that both tables have a primary key called member_id. The first table will store all the necessary info about a member and the second will have a foreign key referencing into the first table. so my question is: Would it be possible for the primary key of the second table to be a foreign key as well? (which well reference the primary key in the first table).
Thank you.
Junaid
I have a design issue. Is it possible to declare a primary key of a table to be a foreign key as well? if its confusing please read on for an example of what I mean.
Suppose i have two tables, they both have the same primary key. Lets say that both tables have a primary key called member_id. The first table will store all the necessary info about a member and the second will have a foreign key referencing into the first table. so my question is: Would it be possible for the primary key of the second table to be a foreign key as well? (which well reference the primary key in the first table).
Thank you.
Junaid