FIX: AV Caused by View with Distinct and Correlated Subquery

ID: Q157809


The information in this article applies to:


BUG#: 15644 (SQL 6.0)
      15964 (SQL 6.5) 

SYMPTOMS

Selecting from a view that contains a correlated subquery and a distinct clause can cause a thread level access violation (AV) in SQL Server.


WORKAROUND

Recode the query so that a distinct clause and a correlated subquery are not combined.


STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server versions 6.0 and 6.5. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.

Additional query words: default


Keywords          : kbother SSrvGPF kbbug6.50 kbbug6.00 kbfix6.50.sp2 
Version           : 6.0 6.5
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: April 3, 1999