Article ID: 294787 - View products that this article applies to.
This article was previously published under Q294787
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 352705 (SHILOH_BUGS)
In some situations when you run either an INSERT, UPDATE, or DELETE statement with a SELECT statement that use a user defined function (UDF), the following error message may occur:
Server: Msg 8623, Level 16, State 1, Line 1
Internal Query Processor Error: The query processor could not produce a query plan. Contact your primary support provider for more information.
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/290211/EN-US/ )INF: How to Obtain the Latest SQL Server 2000 Service Pack
Alter the non-clustered primary key constraint to be a clustered primary key constraint.
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
To reproduce the error message, use this code: