Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Merge command using 2 different servers leaving tables blank sometimes

$
0
0

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


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>