|
I have a developer that deleted a very important row from a replicated table in a SQL Server 2005 database. The specific IDENTITY value for this row is used in a lot of places and is hardcoded. The table is basically a data lookup. Now, how do I restore this row. Attempts to insert using SET IDENTITY_INSERT fail because the value I need to insert is not within the identity range being used by the server (merge replication).
(comments are locked)
|
|
If the record was deleted on the Subscriber side, you could just reinitialise the subscription, then restart the snapshot on the publisher. It would then clear out the data at the subscriber, and copy it all again.
(comments are locked)
|
|
The link below may assist you. http://www.simple-talk.com/sql/database-administration/the-identity-crisis-in-replication/ I encounter this issue with P2P replication.
(comments are locked)
|
|
Please check this script that explains the way of disable IDENTITY columns. Run it step by step. Have a nice day
(comments are locked)
|
|
I'm not an expert on replication, but if set identity_insert didn't work I would think you'd need to do a restore.
(comments are locked)
|

