FIX: AV Caused by View with Distinct and Correlated SubqueryLast reviewed: April 9, 1997Article ID: Q157809  | 
	
	
 
 
The information in this article applies to:
 15964 (SQL 6.5) SYMPTOMSSelecting from a view that contains a correlated subquery and a distinct clause can cause a thread level access violation (AV) in SQL Server. 
 WORKAROUNDRecode the query so that a distinct clause and a correlated subquery are not combined. 
 STATUSMicrosoft 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 
 © 1998 Microsoft Corporation. All rights reserved. Terms of Use.  |