SQL Server 2008 R2 无法解决合并冲突
SQL Server 2008 R2 Not able to resolve Merge conflict
我正在运行合并复制。在合并过程中存在冲突。如果我选择胜利者,冲突就会卷土重来。如果我选择失败者,我会得到一个错误。
TITLE: Microsoft Replication Conflict Viewer
Microsoft Replication Conflict Viewer encountered an error executing the following query:
set DATEFORMAT mdy if (select OBJECTPROPERTY(OBJECT_ID('[tABLE]'),'TableHasIdentity')) =1
[SQL INSERT STATEMENT]
ADDITIONAL INFORMATION:
The insert failed. It conflicted with an identity range check constraint in database [Database], replicated table [TABLE]. , column [TABLE]. If the identity column is automatically managed by replication, update the range as follows: for the Publisher, execute sp_adjustpublisheridentityrange; for the Subscriber, run the Distribution Agent or the Merge Agent.
The statement has been terminated. (Microsoft SQL Server, Error: 548)
我有 运行 sp_adjustpublisheridentityrange
来解决这个问题,但它没有解决问题或更改 table 上的范围。
有什么想法吗?
我在订阅者中发现了孤立的记录。删除后,冲突自行解决。
我正在运行合并复制。在合并过程中存在冲突。如果我选择胜利者,冲突就会卷土重来。如果我选择失败者,我会得到一个错误。
TITLE: Microsoft Replication Conflict Viewer
Microsoft Replication Conflict Viewer encountered an error executing the following query:
set DATEFORMAT mdy if (select OBJECTPROPERTY(OBJECT_ID('[tABLE]'),'TableHasIdentity')) =1
[SQL INSERT STATEMENT]
ADDITIONAL INFORMATION:
The insert failed. It conflicted with an identity range check constraint in database [Database], replicated table [TABLE]. , column [TABLE]. If the identity column is automatically managed by replication, update the range as follows: for the Publisher, execute sp_adjustpublisheridentityrange; for the Subscriber, run the Distribution Agent or the Merge Agent.
The statement has been terminated. (Microsoft SQL Server, Error: 548)
我有 运行 sp_adjustpublisheridentityrange
来解决这个问题,但它没有解决问题或更改 table 上的范围。
有什么想法吗?
我在订阅者中发现了孤立的记录。删除后,冲突自行解决。