Hi, I am getting the error message
Violation of … constraint ‘…’. Cannot insert duplicate key in object ‘…’ (Msg 2627)
when I try to insert records into a table using MERGE command.
Actually, the target table which I try to insert records is empty & does not have any records now.
Please tell me why I am getting this error message as no existing records are there, there by preventing duplicate insertion.