FIX:DECLARE CURSOR on Temp Table with FOR UPDATE Causes AVLast reviewed: April 8, 1997Article ID: Q151111  | 
	
	
The information in this article applies to:
 
 SYMPTOMSA DECLARE CURSOR statement that has a FOR UPDATE clause with multiple columns in the column_list can generate a handled access violation if the table in the SELECT clause is a temporary table. 
 WORKAROUNDDo not use the FOR UPDATE clause for more than one column in case of a temporary table. Use a permanent table if more than one column is absolutely necessary in the FOR UPDATE clause. 
 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 1 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider. 
  | 
	
	Additional query words: 
 © 1998 Microsoft Corporation. All rights reserved. Terms of Use.  |