Microsoft KB Archive/885442

From BetaArchive Wiki

Article ID: 885442

Article Last Modified on 11/2/2007



APPLIES TO

  • Microsoft SQL Server 2000 Developer Edition
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 2000 Personal Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 2000 Workgroup Edition
  • Microsoft SQL Server 2000 Desktop Engine (Windows)
  • Microsoft SQL Server 2000 Developer Edition
  • Microsoft SQL Server 2000 Enterprise Edition 64-bit



Bug #: 469989 (SQL Server 8.0)




SUMMARY

Microsoft distributes SQL Server 2000 fixes 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.

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.


back to the top

Introduction

Issues that are fixed by this hotfix package

The following issue is fixed in this Microsoft SQL Server 2000 hotfix package:

  • When you compile a delete query that contains sub-queries that use multiple "NOT IN" clauses, you may receive an error message that is similar to the following:



    Server: Msg 8624, Level 16, State 1, Line 3
    Internal SQL Server error.

You may also experience the same problem with queries that use a JOIN clause.
The following query will cause the error message to occur:

DELETE FROM Table1 
WHERE key1 >= <minval> AND 
key1 < <maxval> AND 
key1 IN 
(SELECT DISTINCT key1 FROM Table2 
WHERE key1 NOT IN 
(SELECT DISTINCT key1 FROM Table3 WHERE Table3key >= <val>) 
AND key1 NOT IN 
(SELECT DISTINCT key1 FROM Table4) 
AND key1 NOT IN 
(SELECT DISTINCT key1 FROM Table5 WHERE NOT key1 is null))


For a list of previous hotfixes, see the "Microsoft SQL Server 2000 Post-Service Pack 3 or Microsoft SQL Server 2000 Post-Service Pack 3a hotfixes" section in the following Microsoft Knowledge Base article:

290211 How to obtain the latest SQL Server 2000 service pack




back to the top

MORE INFORMATION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For more information, 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


Hotfix information

Prerequisites

This hotfix requires Microsoft SQL Server 2000 Service Pack 3 (SP3). For information about how to obtain SQL Server 2000 SP3, see the following article in the Microsoft Knowledge Base:

290211 How to obtain the latest SQL Server 2000 service pack




back to the top

Restart information

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

You must restart SQL Server after you apply this hotfix.

To enable this hotfix, trace flag 9057 must be turned on. Trace flag 9057 is a dynamic flag. To turn on trace flag 9057, use either of the following methods:

  • Run the following statement:

    DBCC TRACEON(9057, -1)
  • Add -T9057 to the SQL Server startup parameters.

If the hotfix does not solve the problem, you may have to add a OPTION (MAXDOP 1) query hint to the query that is experiencing the 8624 error.

back to the top

Registry information

You do not have to make any changes to the registry.

back to the top

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) 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
   -----------------------------------------------------------------------
   14-Sep-2004  23:40  2000.80.977.0     664,128  Autoplt.dll      
   14-Sep-2004  23:40  2000.80.977.0      78,400  Console.exe      
   14-Sep-2004  23:40  2000.80.977.0     332,352  Ctasksui.dll     
   14-Sep-2004  23:40  2000.80.977.0     315,968  Custtask.dll     
   14-Sep-2004  23:40  2000.80.977.0      33,340  Dbmslpcn.dll     
   08-Apr-2004  18:42                    786,432  Distmdl.ldf
   08-Apr-2004  18:42                  2,359,296  Distmdl.mdf
   30-Sep-2003  19:55                        180  Drop_repl_hotfix.sql
   14-Sep-2004  23:40  2000.80.977.0   1,905,216  Dtspkg.dll       
   14-Sep-2004  23:40  2000.80.977.0     528,960  Dtspump.dll      
   14-Sep-2004  23:40  2000.80.977.0   1,557,052  Dtsui.dll        
   14-Sep-2004  23:40  2000.80.977.0     639,552  Dtswiz.dll       
   30-Sep-2003  19:55                    747,927  Instdist.sql
   30-Sep-2003  19:55                      1,581  Inst_repl_hotfix.sql
   14-Sep-2004  23:40  2000.80.977.0     352,828  Isqlw.exe        
   14-Sep-2004  23:40  2000.80.977.0      82,492  Itwiz.exe        
   14-Sep-2004  23:40  2000.80.977.0      90,692  Msgprox.dll      
   19-May-2004  20:43  8.11.40209.0      209,408  Mssdi98.dll      
   14-Sep-2004  23:40  2000.80.977.0      62,024  Odsole70.dll     
   14-Sep-2004  23:41  2000.80.977.0      25,144  Opends60.dll     
   14-Sep-2004  23:40  2000.80.977.0      57,904  Osql.exe         
   14-Sep-2004  23:40  2000.80.977.0     279,104  Pfutil80.dll     
   30-Sep-2003  19:48                    550,780  Procsyst.sql
   08-Apr-2004  18:42                     12,305  Qfe469315.sql
   08-Apr-2004  18:42                     19,195  Qfe469571.sql
   26-Aug-2004  21:14                      5,157  Qfe472197.sql
   14-Sep-2004  23:40  2000.80.977.0     143,940  Qrdrsvc.exe      
   13-Sep-2004  19:09                  1,105,167  Replmerg.sql
   14-Sep-2004  23:41  2000.80.977.0     221,768  Replprov.dll     
   14-Sep-2004  23:41  2000.80.977.0     307,784  Replrec.dll      
   13-Sep-2004  15:16  2000.80.977.0     159,813  Replres.rll
   26-Aug-2004  21:14                  1,086,925  Replsys.sql
   30-Sep-2003  19:55                    986,603  Repltran.sql
   14-Sep-2004  23:41  2000.80.977.0     287,304  Rinitcom.dll     
   14-Sep-2004  23:41  2000.80.977.0      78,416  Sdiclnt.dll      
   14-Sep-2004  23:41  2000.80.977.0      66,112  Semmap.dll       
   14-Sep-2004  23:41  2000.80.977.0      57,916  Semnt.dll        
   14-Sep-2004  23:41  2000.80.977.0     492,096  Semobj.dll       
   13-Sep-2004  15:47  2000.80.977.0     172,032  Semobj.rll
   14-Sep-2004  23:40  2000.80.977.0      53,832  Snapshot.exe     
   30-Sep-2003  19:48                    117,834  Sp3_serv_uni.sql
   14-Sep-2004  23:40  2000.80.977.0      28,672  Sqlagent.dll     
   14-Sep-2004  23:40  2000.80.977.0     311,872  Sqlagent.exe     
   14-Sep-2004  23:40  2000.80.977.0     168,001  Sqlakw32.dll     
   14-Sep-2004  23:41  2000.80.977.0      33,344  Sqlctr80.dll     
   14-Sep-2004  23:41  2000.80.977.0   4,215,360  Sqldmo.dll       
   14-Sep-2004  23:40                     25,172  Sqldumper.exe    
   13-Sep-2004  15:09  2000.80.977.0      28,672  Sqlevn70.rll
   14-Sep-2004  23:40  2000.80.977.0     156,224  Sqlmaint.exe     
   14-Sep-2004  23:41  2000.80.977.0     180,792  Sqlmap70.dll     
   14-Sep-2004  23:41  2000.80.977.0     188,992  Sqlmmc.dll       
   13-Sep-2004  15:51  2000.80.977.0     479,232  Sqlmmc.rll
   14-Sep-2004  23:41  2000.80.977.0     401,984  Sqlqry.dll       
   14-Sep-2004  23:41  2000.80.977.0      57,920  Sqlrepss.dll     
   14-Sep-2004  23:41  2000.80.977.0   7,708,753  Sqlservr.exe     
   14-Sep-2004  23:41  2000.80.977.0     590,396  Sqlsort.dll      
   14-Sep-2004  23:41  2000.80.977.0      45,644  Sqlvdi.dll       
   14-Sep-2004  23:41  2000.80.977.0     106,588  Sqsrvres.dll     
   14-Sep-2004  23:41  2000.80.977.0      33,340  Ssmsgnet.dll     
   14-Sep-2004  23:41  2000.80.977.0      33,340  Ssmslpcn.dll     
   14-Sep-2004  23:41  2000.80.977.0      33,340  Ssmsqlgc.dll     
   14-Sep-2004  23:41  2000.80.977.0      82,492  Ssnetlib.dll     
   14-Sep-2004  23:41  2000.80.977.0      25,148  Ssnmpn70.dll     
   14-Sep-2004  23:41  2000.80.977.0     123,456  Stardds.dll      
   14-Sep-2004  23:41  2000.80.977.0     158,240  Svrnetcn.dll     
   14-Sep-2004  23:40  2000.80.977.0      76,416  Svrnetcn.exe     
   14-Sep-2004  23:41  2000.80.977.0      49,228  Ums.dll          
   14-Sep-2004  23:41  2000.80.977.0      74,304  Xplog70.dll      
   14-Sep-2004  23:41  2000.80.977.0      98,872  Xpweb70.dll      

Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.back to the top

STATUS

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

This problem was first corrected in Microsoft SQL Server 2000 Service Pack 4.

REFERENCES

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


back to the top

Keywords: kbbug kbfix kbqfe kbsqlserv2000presp4fix kbhotfixserver KB885442