This article was previously published under Q258198
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 57752 (SQLBUG_70) BUG #: 57753 (SQLBUG_70)
A table with compound keys, which has a Primary key constraint with a nonclustered index and foreign key constraints, returns an 8630 error message during an update:
Server: Msg 8630, Level 17, State 38 Internal Query Processor Error: The query processor encountered anunexpected error during execution.
To work around the problem you can change any one of these items on the table definition:
Make the index for the Primary key clustered instead of nonclustered.
Create a surrogate Primary key on the table or pick another candidate key as your Primary key on the table.
Drop the foreign key constraint on the table.
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.
The table must have all of the constraints that follow defined to demonstrate the problem: