So i'm merging about 5 tables (5 merge commands) on 2 different servers. If there's an error I roll everything back.
It normally works great, but 1 out of 100 times it will blank out the target database tables. All 5 of these tables will be blank. I'm also checking that if 1 of the tables has 0 rows after the merge, to roll everything back.
Suggestions? This is sql server 2008
dan