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

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -