FIX: A Query That Causes Hash Role Reversal May Return Incorrect Results (330458)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q330458 SHILOH_BUGS:362535 SYMPTOMSWhile executing a complex query that involves hash joins on
large data sets or on data sets that involve skewed distributions, SQL Server
might reverse the roles of the hash build and the probe inputs. In rare
circumstances where this role reversal occurs and the original build input is
too large to fit in memory and has to be spilled to disk, SQL Server may return
an incorrect number of rows. 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
Note The following hotfix was released before SQL Server 2000 Service
Pack 3. The English version of this fix has the file attributes (or
later) that are listed in the following table. The dates and times for these
files are listed in coordinated universal time (UTC). When you view the file
information, it is converted to local time. To find the difference between UTC
and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Date Time Version Size File name
-----------------------------------------------------------------
09-Oct-2002 01:14 2000.80.690.0 7,467,089 bytes Sqlservr.exe
Note Because of file dependencies, the most recent hotfix or feature
that contains the files may also contain additional
files. WORKAROUNDTo work around this problem, add an "OPTION (LOOP JOIN,
MERGE JOIN)" query hint to the affected query.
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
This problem was first corrected in SQL
Server 2000 Service Pack 3.
Modification Type: | Minor | Last Reviewed: | 9/27/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbSQLServ2000preSP3fix kbbug kbfix KB330458 |
---|
|