FIX: AV if Subquery GROUP BY and HAVING with ROUND()Last reviewed: April 9, 1997Article ID: Q154887  | 
	
	
 
6.50
 
The information in this article applies to:
 
 SYMPTOMSA select that contains a subquery combined with a GROUP BY and a HAVING clause with the function ROUND() results in the following error message and terminates with a thread level Access Violation (AV): 
 Msg 913, Level 22, State 2 Could not find row in Sysdatabases with database id 0. Run DBCC CHECKTABLE on Sysdatabases. WORKAROUNDRe-code the query so that it does not fit the pattern. 
 STATUSMicrosoft has confirmed this to be a problem in the Microsoft SQL Server version 6.50.201. 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.  |