Microsoft KB Archive/278021

= FIX: Clearing &quot;Enforce constraint for replication&quot; Check Box for a CHECK Constraint Breaks Constraint Checking on All Nonreplication Operations =

Article ID: 278021

Article Last Modified on 3/14/2006

-

APPLIES TO


 * Microsoft SQL Server 7.0 Standard Edition

-



This article was previously published under Q278021



BUG #: 57939 (SQLBUG_70)



SYMPTOMS
This problem only occurs when using SQL Server 2000 Enterprise Manager against a SQL Server 7.0 server. When you design a table, if you clear the Enforce constraint for replication check box for any specified constraint, constraint checking no longer applies on any user operation, not just replication. (This setting should not affect user edit mode, but only the replication process.) After you add a value outside of the range specified by the constraint, you will not be able to change that value again (whether valid or not), and you will receive the following error message:

Another user has modified the contents or tables of this view; the database row you modified no longer exists in the database.

Database Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot perform direct UPDATE to range maintained by replication. This conflict occurred in database 'pubs', table 'jobs', column 'max_lvl'.

This statement has been terminated.



STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0

For more information, contact your primary support provider.

Additional query words: constraint &quot;enterprise manager&quot; replication

Keywords: kbbug kbfix KB278021

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.