BUG: Variable in Cursor Declaration Can Cause Client AVLast reviewed: May 2, 1997Article ID: Q148268  | 
	
	
The information in this article applies to:
 
 SYMPTOMSAssigning values of table columns to variables inside a cursor declaration can cause a client access violation (AV). Ideally, this should give a syntax error because variable assignment is not allowed in a cursor declaration. 
 WORKAROUNDMake sure that the cursor declaration is according to syntax of cursor declaration statement. 
 STATUSMicrosoft has confirmed this to be a problem in SQL Server version 6.0. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. 
  | 
	
	Additional query words: sql6 av client 
 © 1998 Microsoft Corporation. All rights reserved. Terms of Use.  |