Article ID: 241717 - View products that this article applies to.
This article was previously published under Q241717
BUG #: 55638 (SQLBUG_70)
When you attempt to update a row in a table that contains a multi-column foreign key, and one of the columns making up the foreign key contains a null value, you will receive the following error message:
Replace the UPDATE with a DELETE and an INSERT.
Server: Msg 547, Level 16, State 1, Line 1
UPDATE statement conflicted with TABLE FOREIGN KEY constraint '<foreign key constraint name>'. The conflict occurred in database '<database name>', table '<table name>'.
The statement has been terminated.
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
254561For more information, contact your primary support provider.
(http://support.microsoft.com/kb/254561/ )INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
Article ID: 241717 - Last Review: March 14, 2006 - Revision: 2.1