CREATE UNIQUE INDEX terminated because the object name found 'dbo.table1' names and index 'PK_table1' duplicate keys

Failure Change entity correspondence table structure [modify failed entity object table structure [modify table [table1] failed primary key information: CREATE UNIQUE INDEX terminated,

Because the object name found 'dbo.table1' names and index 'PK_table1' has a duplicate key. Duplicate key for (6). ]]

This problem is due to the uniqueness of the primary key is provided, and the value of the primary key column in the database have duplicate values ​​for 6, wherein a value to get rid of it.

Guess you like

Origin www.cnblogs.com/jiangqw/p/12155861.html