sql - Automatically resolve primary key merge conflict -
could please suggest me way automatically resolve primary key conflicts during merge between publisher , subscriber. seems sql server doesn't out of box :(.
conflict viewer shows me next message:
a row insert @ '_publisher_server_' not propagated '_subscriber_server_'. failure can caused constraint violation. violation of primary key constraint 'pk_partplan_fd9d7f927172c0b5'. cannot insert duplicate key in object '_table_name_'.
thank you.
this isn't easy solution (since you've presumably designed database auto-incrementing int
keys), using guid ("uniqueidentifier") primary keys solve pk collision problem.
Comments
Post a Comment