I am entering a value in our datbase that is a duplicate, its a company thing. they used to do it here before but as im new im dont know the workaround for this.
im getting the error:
Server: Msg 2627, Level 14, State 1, Line 1
Violation of PRIMARY KEY constraint 'aaaaaECOBODY_PK'. Cannot insert duplicate key in object 'ECOBODY'.
The statement has been terminated.
when I type the query:
update ecobody set RevTo='B' where PartNumber='5002265G' and ECONumber='6690'
need a workaround for that error so that this change can be made to the database.