Knowledge Base

FIX: Queries Using Derived Tables or GROUP BY May Cause an Access Violation

Article ID: 181048

Article Last Modified on 3/14/2006


APPLIES TO


This article was previously published under Q181048
BUG #: 16168

SYMPTOMS

In rare cases, queries that require SQL Server to re-map columns to virtual tables may cause SQL Server to have a handled access violation (AV). This has only been observed when either of the following conditions us true:

  • Derived tables are used.

    -or-
  • A GROUP BY clause is used and the data being grouped comes from a view.

WORKAROUND

STATUS

Microsoft has confirmed this to be a problem in SQL Server 6.5. This problem has been corrected in Service Pack 5a for Microsoft SQL Server 6.5.For more information, click the following article number to view the article in the Microsoft Knowledge Base:

197177 INF: How to Obtain SQL Server 6.5 Service Pack 5a

For more information, contact your primary support provider.

Additional query words: prodsql sp sp5

Keywords: kbbug kbfix KB181048