15 pts.
 How do I resolve this SQL error
[-1] SQL Error: '[Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY constraint 'PK_cat_validation'. Cannot insert duplicate key in object 'dbo.cat_validation'.' SQLState='23000' SQLNativeError=2627.

Software/Hardware used:
SQL Server 2005
ASKED: Feb 3, 2012  11:52 AM GMT
UPDATED: February 28, 2012  8:32:18 AM GMT
60,255 pts.

Answer Wiki:
The error message is pretty explanatory.

You have a table with a primary key, and you are trying to insert a new record that matches the primary key of an existing record in the table.

To solve it, review your data and/or your application and do not try to insert duplicate records.
Last Wiki Answer Submitted:  Feb 3, 2012  2:48 PM (GMT)  by  Carlosdl   60,255 pts.
To see other answers submitted to the Answer Wiki View Answer History.
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _