Duplicate key cannot be inserted in database
Â
Hi All,
I just lost two thousand records from the Assets table. I also lost more than two thousand records from the associated tables of ‘Time Assets’ and ‘Asset Billing Rate’. All these tables are using ‘id field’ as primary key. I could bale to locate the records which had lost. But when I tried to insert those entries from the backup with the ‘Set Identity_Insert’, it failed miserably with an error message which says that ‘duplicate key cannot be inserted in database’. Please help me to solve the issue. Please help me to get out this problem.
Thanks in advance.