You cannot make a non-unique primary key. Primary keys are, by definition, unique.
2006-06-22 06:55:48
·
answer #1
·
answered by CByrd17 3
·
0⤊
0⤋
I think U can't do that... Primary keys should be unique 'cause that's the way to identify a row... If a primary key were non-unique you'd have problems to find rows. Find a column you can make unique, and use it as primary key, or try using an index as primary key.
2006-06-22 06:58:12
·
answer #2
·
answered by Arw3n 1
·
0⤊
0⤋
You probablu need to make a different cilomn your primary key. Create a new column as an identity, autinum, whatever your db calls it, and remove the primary key from the column that you need to make non-unique.
Primary keys are by definition, unique.
2006-06-22 15:35:41
·
answer #3
·
answered by Anonymous
·
0⤊
0⤋
That's generally an anti-good thing and not allowed.
I think what you want is a unique primary key and another index that allows dups.
in general you don't want dup rows in a db.
2006-06-22 06:58:05
·
answer #4
·
answered by dapixelator 6
·
0⤊
0⤋
Allow Duplicates
2006-06-22 06:56:18
·
answer #5
·
answered by OldWiseandGray 2
·
0⤊
0⤋