Article ID: 280747 - Last Review: October 28, 2003 - Revision: 3.2 FIX: UPDATE Statement on a Clustered Index Key Fails with Error 547This article was previously published under Q280747
BUG #: 58158 (SQLBUG_70) BUG #: 234633 (SQLBUG_2000) On This PageSYMPTOMS
When you attempt to update a clustered index key, you may receive the following error message even though no constraints are violated:
Server: Msg 547, Level 16, State 1, Line 1 UPDATE statement conflicted with TABLE CHECK constraint 'CK_tblA'. The conflict occurred in database 'pubs', table 'tblA'. The statement has been terminated.
RESOLUTIONSQL Server 2000To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:290211
(http://support.microsoft.com/kb/290211/EN-US/
)
INF: How to Obtain the Latest SQL Server 2000 Service Pack
SQL Server 7.0To resolve this problem, obtain the latest service pack for SQL Server 7.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:301511
(http://support.microsoft.com/kb/301511/EN-US/
)
INF: How to Obtain the Latest SQL Server 7.0 Service Pack
WORKAROUND
To avoid this problem, change the composite clustered index to a nonclustered index.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. SQL Server 2000This problem was first corrected in SQL Server 2000 Service Pack 1.SQL Server 7.0This problem was first corrected in SQL Server 7.0 Service Pack 3.MORE INFORMATION
To reproduce the problem, run the following code:
| Article Translations
|
Back to the top
