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

Mege changes order

$
0
0

How to guarantee that merge replication is going to apply changes or upload changes to the publisher in a specific or a predefined order ?

as i am looking to end the occurrence of FK constraint violation case, where merge agent tries to upload parent table changes before child table changes (Mainly inserts), as this causes the sync/ the merge session to fail.

I know about marking FK Constraints as "NOT FOR REPLICAITON"/Increasing generation batch size but these are not options right now, what i need is to either find a way to add the articles in an proper way so eliminates any chance for FK constriant vilation or force merge agent to apply changes according to a predefined order i can control, any ideas ?

Thanks,


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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