I have one Publisher and one Subscriber. They have
a UK
(Col1, Col2)
, PK is col1 + col2, and
the MERGE
REPLICATION
adds a ROWGUID.
Sometimes
they insert the same row when they are offline ( they generate the same UK, it's not IDENTITY column), because
of it, they generate different ROWGUID for the same row. Then, when I run the JOB for Merge Replication, I have a PRIMARY
KEY violation. I need to use the UK instead of ROWGUID
.
It is possible?
Example:
Table_1 (Publisher)
Name: John (UK)
ID: 1234 (UK)
ROWGUID: xxxxx (Created by Merge Replication)
Table_1 (Subscriber)
Name: John (UK)
ID: 1234 (UK)
ROWGUID: yyyyy (Created by Merge Replication)
- Edited by Alex R. Almeida Wednesday, April 22, 2015 2:41 PM