Article ID: 189029 - Last Review: March 13, 2006 - Revision: 4.0

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

This article was previously published under Q189029
BUG #: 17894 (SQLBUG_65)
Expand all | Collapse all

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  (http://support.microsoft.com/kb/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.

APPLIES TO
  • Microsoft SQL Server 6.5 Service Pack 2
Keywords: 
kbbug kbfix KB189029
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations