FIX: You may receive incorrect results when you run a query in SQL Server 2000

Article translations Article translations
Article ID: 884864 - View products that this article applies to.
Bug #: 472168 (SQL Server 8.0)
Expand all | Collapse all

On This Page

Microsoft SQL Server 2000 fixes are distributed as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2000 fix release.

Article contents

SUMMARY

This article describes the following about this hotfix release:
  • The issues that are fixed by this hotfix package.
  • The prerequisites for installing the hotfix package.
  • Whether you must restart your computer after you install the hotfix package.
  • Whether the hotfix package is replaced by any other hotfix package.
  • Whether you must make any registry changes.
  • The files that are contained in the hotfix package.

Introduction

When you run a query against a SQL Server 2000 database, you may receive incorrect results when SQL Server 2000 uses loop joins in the execution plan. For additional information about a list of all publicly released SQL Server 2000 Post-Service Pack 3a hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
810185 SQL Server 2000 hotfix update for SQL Server 2000 Service Pack 3 and 3a

CAUSE

This problem occurs when the execution plan that SQL Server 2000 chooses uses a multi-parent spool that has the primary and the secondary spools on the inner side of a nested loop join. The following sample code shows the structure of an execution plan for a query that encounters this problem.
Rows	Executes			StmtText
0	1	                      |--Nested Loops(Inner Join, OUTER REFERENCES:([p1].[MEETING_ID1044]))
231	1	                           |--Outer input table plan (this may vary)
0	231	                           |--Inner input table plan (this may vary) 
0	231	                                     |--Join (Join type may vary)
2	231	                                          |--Primary side of join (this may vary)
101	231	                                          |              |--Sort(…)
780	232	                                          |                   |--Table Spool
0	231	                                          |--Secondary side of join (this may vary)
0	231	                                                    |--Sort(…)
780	232	                                                         |--Table Spool

RESOLUTION

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

This hotfix requires SQL Server 2000 Service Pack 3 (SP3). For additional information about how to obtain the latest SQL Server 2000 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
290211 How to obtain the latest SQL Server 2000 service pack

Restart information

You do not have to restart your computer after you apply this hotfix.

Registry information

You do not have to change the registry after you apply this hotfix.

Hotfix file information

This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain of all the files that you must have to fully update a product to the latest build.
The English version of this hotfix has the file attributes (or later file attributes) 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
   ---------------------------------------------------------------------
   18-Aug-2004  20:03                      6,418  Hotfix1.inf
   18-Aug-2004  17:09                      2,523  Hotfix2.inf
   14-Oct-2003  19:34  8.0.21213.0       352,256  Msvcr71.dll      
   14-Oct-2003  19:34  2000.80.796.0      57,904  Osql.exe         
   14-Oct-2003  19:34  2000.80.534.0     127,548  Sqdedev.dll      
   14-Oct-2003  19:34  2000.80.194.0     180,290  Sqlunirl.dll     
   17-Aug-2004  23:55  2000.80.970.0     664,128  Autoplt.dll      
   17-Aug-2004  23:55  2000.80.970.0      78,400  Console.exe      
   17-Aug-2004  23:55  2000.80.970.0     332,352  Ctasksui.dll     
   17-Aug-2004  23:55  2000.80.970.0     315,968  Custtask.dll     
   17-Aug-2004  23:55  2000.80.970.0      33,340  Dbmslpcn.dll     
   08-Apr-2004  19:42                    786,432  Distmdl.ldf
   08-Apr-2004  19:42                  2,359,296  Distmdl.mdf
   10-Oct-2003  16:48                        180  Drop_repl_hotfix.sql
   17-Aug-2004  23:55  2000.80.970.0   1,905,216  Dtspkg.dll       
   17-Aug-2004  23:55  2000.80.970.0     528,960  Dtspump.dll      
   17-Aug-2004  23:55  2000.80.970.0   1,557,052  Dtsui.dll        
   17-Aug-2004  23:55  2000.80.970.0     639,552  Dtswiz.dll       
   10-Oct-2003  16:48                    747,927  Instdist.sql
   10-Oct-2003  16:48                      1,581  Inst_repl_hotfix.sql
   17-Aug-2004  23:55  2000.80.970.0     352,828  Isqlw.exe        
   17-Aug-2004  23:55  2000.80.970.0      82,492  Itwiz.exe        
   17-Aug-2004  23:55  2000.80.970.0      90,692  Msgprox.dll      
   19-May-2004  21:43  8.11.40209.0      209,408  Mssdi98.dll      
   17-Aug-2004  23:55  2000.80.970.0      62,024  Odsole70.dll     
   17-Aug-2004  23:56  2000.80.970.0      25,144  Opends60.dll     
   17-Aug-2004  23:55  2000.80.970.0      57,904  Osql.exe         
   17-Aug-2004  23:55  2000.80.970.0     279,104  Pfutil80.dll     
   10-Oct-2003  16:37                    550,780  Procsyst.sql
   08-Apr-2004  19:42                     12,305  Qfe469315.sql
   08-Apr-2004  19:42                     19,195  Qfe469571.sql
   17-Aug-2004  22:27                      5,155  Qfe472197.sql
   17-Aug-2004  23:55  2000.80.970.0     143,940  Qrdrsvc.exe      
   18-Aug-2004  00:16                  1,105,167  Replmerg.sql
   17-Aug-2004  23:55  2000.80.970.0     221,768  Replprov.dll     
   17-Aug-2004  23:55  2000.80.970.0     307,784  Replrec.dll      
   17-Aug-2004  22:46  2000.80.970.0     159,813  Replres.rll
   17-Aug-2004  22:27                  1,086,925  Replsys.sql
   10-Oct-2003  16:48                    986,603  Repltran.sql
   17-Aug-2004  23:55  2000.80.970.0     287,304  Rinitcom.dll     
   17-Aug-2004  23:55  2000.80.970.0      78,416  Sdiclnt.dll      
   17-Aug-2004  23:55  2000.80.970.0      66,112  Semmap.dll       
   17-Aug-2004  23:55  2000.80.970.0      57,916  Semnt.dll        
   17-Aug-2004  23:55  2000.80.970.0     492,096  Semobj.dll       
   17-Aug-2004  23:20  2000.80.970.0     172,032  Semobj.rll
   17-Aug-2004  23:55  2000.80.970.0      53,832  Snapshot.exe     
   13-Jul-2004  18:59                    117,834  Sp3_serv_uni.sql
   17-Aug-2004  23:55  2000.80.970.0      28,672  Sqlagent.dll     
   17-Aug-2004  23:55  2000.80.970.0     311,872  Sqlagent.exe     
   17-Aug-2004  23:55  2000.80.970.0     168,001  Sqlakw32.dll     
   17-Aug-2004  23:55  2000.80.970.0      33,344  Sqlctr80.dll     
   17-Aug-2004  23:55  2000.80.970.0   4,215,360  Sqldmo.dll       
   17-Aug-2004  23:55                     25,172  Sqldumper.exe    
   17-Aug-2004  22:35  2000.80.970.0      28,672  Sqlevn70.rll
   17-Aug-2004  23:55  2000.80.970.0     156,224  Sqlmaint.exe     
   17-Aug-2004  23:55  2000.80.970.0     180,792  Sqlmap70.dll     
   17-Aug-2004  23:55  2000.80.970.0     188,992  Sqlmmc.dll       
   17-Aug-2004  23:15  2000.80.970.0     479,232  Sqlmmc.rll
   17-Aug-2004  23:55  2000.80.970.0     401,984  Sqlqry.dll       
   17-Aug-2004  23:55  2000.80.970.0      57,920  Sqlrepss.dll     
   17-Aug-2004  23:55  2000.80.970.0   7,581,777  Sqlservr.exe     
   17-Aug-2004  23:55  2000.80.970.0     590,396  Sqlsort.dll      
   17-Aug-2004  23:55  2000.80.970.0      45,644  Sqlvdi.dll       
   17-Aug-2004  23:55  2000.80.970.0     106,588  Sqsrvres.dll     
   17-Aug-2004  23:55  2000.80.970.0      33,340  Ssmslpcn.dll     
   17-Aug-2004  23:55  2000.80.970.0      82,492  Ssnetlib.dll     
   17-Aug-2004  23:55  2000.80.970.0      25,148  Ssnmpn70.dll     
   17-Aug-2004  23:55  2000.80.970.0     123,456  Stardds.dll      
   17-Aug-2004  23:55  2000.80.970.0     158,240  Svrnetcn.dll     
   17-Aug-2004  23:55  2000.80.970.0      76,416  Svrnetcn.exe     
   17-Aug-2004  23:55  2000.80.970.0      49,228  Ums.dll          
   17-Aug-2004  23:55  2000.80.970.0      98,872  Xpweb70.dll      
   17-Aug-2004  23:55  2000.80.970.0     664,128  Autoplt.dll      
   17-Aug-2004  23:55  2000.80.970.0     332,352  Ctasksui.dll     
   17-Aug-2004  23:55  2000.80.970.0     315,968  Custtask.dll     
   17-Aug-2004  23:55  2000.80.970.0   1,905,216  Dtspkg.dll       
   17-Aug-2004  23:55  2000.80.970.0   1,557,052  Dtsui.dll        
   17-Aug-2004  23:55  2000.80.970.0     639,552  Dtswiz.dll       
   17-Aug-2004  23:55  2000.80.970.0     352,828  Isqlw.exe        
   17-Aug-2004  23:55  2000.80.970.0      82,492  Itwiz.exe        
   17-Aug-2004  23:55  2000.80.970.0      57,904  Osql.exe         
   17-Aug-2004  23:55  2000.80.970.0     279,104  Pfutil80.dll     
   17-Aug-2004  23:55  2000.80.970.0      78,416  Sdiclnt.dll      
   17-Aug-2004  23:55  2000.80.970.0      66,112  Semmap.dll       
   17-Aug-2004  23:55  2000.80.970.0      57,916  Semnt.dll        
   17-Aug-2004  23:55  2000.80.970.0     492,096  Semobj.dll       
   17-Aug-2004  23:20  2000.80.970.0     172,032  Semobj.rll
   17-Aug-2004  23:55  2000.80.970.0   4,215,360  Sqldmo.dll       
   17-Aug-2004  23:55                     25,172  Sqldumper.exe    
   17-Aug-2004  23:55  2000.80.970.0     188,992  Sqlmmc.dll       
   17-Aug-2004  23:15  2000.80.970.0     479,232  Sqlmmc.rll
   17-Aug-2004  23:55  2000.80.970.0     401,984  Sqlqry.dll       
   17-Aug-2004  23:55  2000.80.970.0     123,456  Stardds.dll      
   17-Aug-2004  23:55  2000.80.970.0     158,240  Svrnetcn.dll     
   17-Aug-2004  23:55  2000.80.970.0      76,416  Svrnetcn.exe     
Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.



STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


MORE INFORMATION

For additional information about the naming schema for Microsoft SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:
822499 New naming schema for Microsoft SQL Server software update packages
For additional information about the terminology that Microsoft uses when correcting software after it is released, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 884864 - Last Review: June 1, 2006 - Revision: 4.7
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbautohotfix kbsqlserv2000presp4fix kbfix kbbug kbhotfixserver kbqfe KB884864

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