PRB: Automatic Identity Range Handling Is Not Correct If the Merge Agent Runs an Insert Trigger (324361)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q324361 SYMPTOMS
If a SQL Server 2000 replication Merge Agent invokes a trigger that in turn inserts into a table that uses automatic identity range handling, incorrect values can be set for the identity column.
RESOLUTION
Avoid the use of triggers to insert data into tables that are set to use automatic identity range handling. Also, if a Merge Agent is not going to run the trigger, you can create the trigger by using the Not For Replication option.
STATUSThis behavior is by design.
Modification Type: | Major | Last Reviewed: | 10/3/2003 |
---|
Keywords: | kbprb KB324361 |
---|
|