The conflict "Command affected 0 row(s)" is the most common type of conflict that can occur with replication. This conflict can be on a delete or update statement.
This conflict is indicating indicates that the data is no longer in sync between the source and target data.
...
...
This query will also return 0 rows when it is run on the target as it has the same conditions as the delete statement causing which caused the conflict.
Now remove the last predicate in the where clause and run again. In the case "and ACCEPTEDDATETIME" is removed:
Panel | ||
---|---|---|
| ||
SELECT * from SCOTT."REQUESTS" |
If this now returns a record on the target database, then the data conflict is due to predicate that has just been removed. In this case "ACCEPTEDDATETIME"
If this still returns 0 rows, then remove the next predicate and run again.
...
The next step is to determine why the data is different. Compare the same row on source and target to determine what the difference is. Is it due to:
- The data not being in sync before the replication started?
- Someone else changed the data on the target?
- Open transactions on the target database. Please see Uncommitted transactions
Once it is understood why the conflict occurs, then conflict can be /wiki/spaces/UGDREP/pages/15761558.
If the data is different because of 1 or 2 abovedivergence is too great and it is not possible to resolve iit through the conflict, then the table should be manually resynched. Please see http://support.dbvisit.com/entries/24422248-Synching-up-one-table-when-it-gets-out-of-sync