Article ID: 289149 - View products that this article applies to.
This article was previously published under Q289149
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 351474 (SHILOH)
A SQL Server query whose execution plan uses a Hash Match Team physical operator may fail with the following error message:
Server: Msg 8630, Level 17, State 98
Internal Query Processor Error: The query processor encountered an unexpected error during execution.
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:
(https://support.microsoft.com/kb/290211/EN-US/ )INF: How to Obtain the Latest SQL Server 2000 Service Pack
Enable trace flag 8679 to prevent the SQL Server optimizer from using a Hash Match Team operator. You can enable a trace flag for a given connection by using the DBCC TRACEON statement or you can set the trace flag server wide by using the -T startup parameter.
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
The Hash Match Team operator is defined in SQL Server 2000 Books Online as follows:
The Hash Match Team physical operator is part of a team of connected hash operators sharing a common hash function and partitioning strategy.If you have a query that fails with the 8630 error message, look at the query plan to determine if a Hash Match Team operator is involved. You can use the Transact-SQL SET SHOWPLAN_ALL command or a tool like the SQL Server Query Analyzer to view the estimated execution plan for your query.