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

Article translations Article translations
Article ID: 289149 - View products that this article applies to.
This article was previously published under Q289149
BUG #: 351474 (SHILOH)
Expand all | Collapse all

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 the Microsoft 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 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.

Properties

Article ID: 289149 - Last Review: November 6, 2003 - Revision: 3.1
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbbug kbfix kbsqlserv2000sp1fix KB289149

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com