Microsoft KB Archive/325720

= FIX: An access violation occurs when a cursor is defined on a query that has nested subqueries =

Article ID: 325720

Article Last Modified on 10/11/2005

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition
 * Microsoft SQL Server 7.0 Service Pack 4

-



This article was previously published under Q325720



BUG #: 102728 (SQLBUG_70)

BUG #: 360188 (SHILOH_BUGS)



SYMPTOMS
When you use SQL Server 7.0 Service Pack 4 (SP4), you might experience a handled EXCEPTION_ACCESS_VIOLATION while defining a keyset cursor on a query that contains nested subqueries.

When you run the same query in SQL Server 2000, you receive the following error message:

Server: Msg 8624, Level 16, State 23, Line 2 Internal SQL Server error.



SQL Server 7.0
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

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 --  03-Jul-2002  05:27               4,367,900 bytes  Sqlservr.dbg 03-Jul-2002 05:26  2000.31.2.0  5,058,832 bytes  Sqlservr.exe Note: Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.

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



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in SQL Server 2000 Service Pack 3.

Additional query words: security_patch

Keywords: kbbug kbfix kbsqlserv2000presp3fix kbqfe kbsecurity kbsqlserv700presp5fix kbhotfixserver KB325720

-

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

© Microsoft Corporation. All rights reserved.