BUG: You receive an "EXCEPTION_ACCESS_VIOLATION" error message when you use a RIGHT OUTER JOIN clause in SQL Server 2000

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

On This Page

SYMPTOMS

In Microsoft SQL Server 2000, when you run a query that contains a RIGHT OUTER JOIN clause, you may receive an error message that is similar to the following:
ODBC: Msg 0, Level 19, State 1
SqlDumpExceptionHandler: Process 52 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.

Connection Broken

RESOLUTION

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

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.

MORE INFORMATION

Steps to reproduce the problem

To reproduce this problem, run the following query in SQL Query Analyzer:
USE pubs
go
SELECT *
FROM titles t
RIGHT OUTER JOIN publishers
ON publishers.pub_id=t.pub_id
AND t.ytd_sales = (
  SELECT max(ytd_sales)
    FROM titles
  WHERE publishers.pub_id=titles.pub_id
)
go
Note After you run this query, you receive the error message and the SQL Server connection is broken.

Properties

Article ID: 892451 - Last Review: November 2, 2007 - Revision: 2.4
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 Workgroup Edition
  • Microsoft SQL Server 2000 Desktop Engine (Windows)
  • Microsoft SQL Server 2000 Enterprise Edition 64-bit
Keywords: 
kbbug kbtshoot kbfix KB892451

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