FIX: A Query That Uses Hash Match Teams May Fail with 8630 Error Message

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)
SYMPTOMS
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.
RESOLUTION
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 theMicrosoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
WORKAROUND
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.
STATUS
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
MORE INFORMATION
The Hash Match Team operator is defined in SQL Server 2000 Books Online asfollows:
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.
msg 8630
Properties

Article ID: 289149 - Last Review: 01/16/2015 21:39:00 - Revision: 3.1

  • Microsoft SQL Server 2000 Standard Edition
  • kbnosurvey kbarchive kbbug kbfix kbsqlserv2000sp1fix KB289149
Feedback