all groups > sql server programming > february 2007 >
You're in the

sql server programming

group:

why mulitple primary keys allowed in a table


why mulitple primary keys allowed in a table loufuki NO[at]SPAM gmail.com
2/5/2007 10:41:53 PM
sql server programming:
in sql 2000, you are allowed to create multiple primary keys on
different column.
I don't understand this.
Can anyone please explain.
RE: why mulitple primary keys allowed in a table Omnibuzz
2/5/2007 11:03:00 PM
I guess you are referring to a primary key spanning multiple columns.
You can get a lot of info on the web as to why we need it..
try searching for "composite key" or "concatenated primary key"
--
-Omnibuzz

http://omnibuzz-sql.blogspot.com/



[quoted text, click to view]
AddThis Social Bookmark Button