Knowledge Base

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

Article ID: 189029

Article Last Modified on 3/13/2006


APPLIES TO


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.

Additional query words: prodsql exception SP SP2 SP3 SP4 SP5

Keywords: kbbug kbfix KB189029