FIX: Query That Uses DESC Index May Result in Access Violation

Article translations Article translations
Article ID: 314003 - View products that this article applies to.
This article was previously published under Q314003
BUG #: 356195 (SHILOH_BUGS)
Expand all | Collapse all

SYMPTOMS

If you execute a query whose execution plan uses an index created in descending order (that is, the index was created by using the DESC option of a CREATE INDEX statement), the query may fail with a handled access violation (AV).

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft 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 created before the release of Microsoft SQL Server 2000 Service Pack 3.

The English version of this fix should have the following file attributes or later:
   Version      File name        Comments   
   -------------------------------------------

   8.00.473     Sqlservr.exe     SP1-based fix
   8.00.558     Sqlservr.exe     SP2-based fix
				

NOTE: Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.


STATUS

Microsoft has confirmed that this is a problem in Microsoft SQL Server 2000.
This problem was first corrected in Microsoft SQL Server 2000 Service Pack 3.

MORE INFORMATION

This problem only occurs if the index you use in the execution plan was created in descending order and one of the columns in the index has NULL values.

Properties

Article ID: 314003 - Last Review: September 26, 2005 - Revision: 4.2
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbhotfixserver kbqfe kbsqlserv2000sp3fix kbbug kbfix kbsqlserv2000presp3fix KB314003

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