Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

We use transactional replication to replicate data from table1 on server1 to table2 on server2. However, one of my colleagues accidentally inserted some data into table2. In order to keep the two tables synced up, should we delete the rows inserted? If so, do we need to reset identity?

share|improve this question
add comment

1 Answer

Delete the rows to not cause any conflicts later. If you still need the data insert them on the publisher after you deleted them on the subscriber.

You do not need to worry about the identity seed. Replication inserts its own values and does not rely on the identity-auto-value-generation. As this is a table on the subscriber you should not insert data ever again, so to you it should not matter what the identity seed is either.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.