Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Transactional replication (snapshot) when column order does not match on target

$
0
0

Have a weird problem at a client -  2 sites are doing transactional replication to a 3rd.  The table on site 1 and 3 has the same columns in the same order, the 2nd site has the same columns in a different order.  Filter is used so that when a site resnapshots the common target the target data is deleted using the filter and then the snapshot does the BCP to the target.

  Not too surprisingly the site 2 snapshot application is failing with a fieldsize error - most likely because it is trying to insert the wrong data in the wrong field.

  Anyone know of a clever way around this other than fixing the column order on site 2?

Sources are 2012 and target is 2005 if that matters


Chuck Pedretti | Magenic – North Region | magenic.com


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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