Article ID: 235401 - Last Review: March 14, 2006 - Revision: 2.1 FIX: 8623 Error with INSERT-SELECT when Nullable Clustered Keys not ReferencedThis article was previously published under Q235401
BUG #: 55906 (SQLBUG_70)
SYMPTOMS
Running an INSERT SELECT statement into a table that has a clustered index, in which all fields allow NULLs, may fail with the following error message:
Server: Msg 8623, Level 16, State 2, Line 5
Internal Query Processor Error: The query processor could not produce a query plan.
CAUSE
When generating the plan for the sort with a single thread, the optimizer code does not expect NULL values for all of the fields to be sorted.
WORKAROUND
To work around this issue, choose any of the following options:
STATUS
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: 254561
(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 For more information, contact your primary support provider.
| Article Translations
|
Back to the top
