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

Merge replication - Update/Delete conflict resolution

$
0
0

I am using Merge replication on SQL Server 2005. The conflict resolver on the table I am updating is the 'SQL Server Datetime (Later Wins) conflict resolver'. If I update the publisher and then subsequently delete the data from the subscriber in a later write I notice that on publication synchronise the data is comes back at the subscriber, even though the delete had the later write time.

When I look at the conflict viewer I see that there was an update/delete conflict and the publisher was chosen even though it had an earlier time. If I reverse the situation and delete wins as the publisher is chosen again.

I am currently thinking that I need a custom update/delete conflict resolver but as I am limited to only using stored procedure I am not sure if this is possible.

Any guidance appreciated. 

 

Viewing all articles
Browse latest Browse all 4054

Trending Articles



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