Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
If I have one 2008 server replicating to another using transactional replication, and I accidentally change data in the subscriber database, what's the best way to get it to match the publisher again? Would I need to create a new snapshot on the publisher?
I'm just thinking hypothetically, but I assume that I would know which tables and columns were involved if it happened. I could set up a linked server if I needed to... are you thinking I would wipe out all the data in the affected table(s) and repopulate them with data from the publisher? I suppose if I had Red Gate's SQL DataCompare I could just use that to sync the data.
russell
Pyro-ma-ni-yak
5072 Posts
Posted - 2010-11-05 : 11:17:52
If it's via linked server, you'd just do something like this: