Hello All i am updating a column then it has thrown the following error please find the update query and the error:
update table_jboss_tomcat set employee_id = 433 where employee_id in (453,467)
Msg 2627, Level 14, State 1, Line 1
Violation of UNIQUE KEY constraint 'IX_Table_jboss_tomcat'. Cannot insert duplicate key in object 'dbo.table_jboss_tomcat'.
as i am updating with new employeeid then it should be updated but its not happening please help in this regards.
↧