joelwenzel
Programmer
- Jun 28, 2002
- 448
Hello,
I have a table. Each row in the table can be defined by an automatically generated unique id number. The individual rows can also be defined by a group of column elements (which happen to be foreign keys).
My primary key is the unique id number but it is also possible for cols 1,2, 3... to be grouped as a primary key. Can I have both things labelled as primary keys at the same time or is this a bad practice? I ask because someone said that some of my relationships are identifying and that they should be labelled as such.
I have a table. Each row in the table can be defined by an automatically generated unique id number. The individual rows can also be defined by a group of column elements (which happen to be foreign keys).
My primary key is the unique id number but it is also possible for cols 1,2, 3... to be grouped as a primary key. Can I have both things labelled as primary keys at the same time or is this a bad practice? I ask because someone said that some of my relationships are identifying and that they should be labelled as such.