Microsoft KB Archive/289149

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

Article ID: 289149

Article Last Modified on 11/6/2003

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q289149



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

Additional query words: msg 8630

Keywords: kbbug kbfix kbsqlserv2000sp1fix KB289149

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.