FIX: AV in Cursoropen() If Using 'WHERE CURRENT OF' and Cancel (189029)



The information in this article applies to:

  • Microsoft SQL Server 6.5 Service Pack 2 and later

This article was previously published under Q189029
BUG #: 17894 (SQLBUG_65)

SYMPTOMS

Canceling a transaction that is modifying data inside a cursor using WHERE CURRENT OF may cause a handled access violation (AV).

WORKAROUND

To work around this problem, do one of the following:
  • Change the WHERE CURRENT OF condition to a WHERE condition based on the primary key or other unique ID.

  • Do not do data modifications inside a cursor using WHERE CURRENT OF.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 6.5. This problem has been corrected in Service Pack 5a for Microsoft SQL Server 6.5.For more information, click the following article number to view the article in the Microsoft Knowledge Base:

197177 INF: How to Obtain SQL Server 6.5 Service Pack 5a

For more information, contact your primary support provider.

MORE INFORMATION

This problem does not occur with SQL Server 6.5 Service Pack 1 or the release version of SQL Server 6.5.

Modification Type:MajorLast Reviewed:3/13/2006
Keywords:kbBug kbfix KB189029