FIX:DECLARE CURSOR on Temp Table with FOR UPDATE Causes AV (151111)
The information in this article applies to:
- Microsoft SQL Server 6.0
- Microsoft SQL Server 6.5
This article was previously published under Q151111
BUG#: 15086 (6.00)
SYMPTOMS
A 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.
WORKAROUND
Do 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.
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
1 for Microsoft SQL Server version 6.5. For more information, contact your
primary support provider.
Modification Type: | Major | Last Reviewed: | 10/16/2003 |
---|
Keywords: | kbBug kbfix kbProgramming kbusage KB151111 |
---|
|