FIX: Thread AV in SP1 Using a Cursor Defined w/Constant and View (165557)



The information in this article applies to:

  • Microsoft SQL Server 6.5 Service Pack 1 and later

This article was previously published under Q165557
BUG #: 16333 (6.50.213)

SYMPTOMS

You may receive a handled access violation (AV) when you declare a cursor using a constant in the select list and a view in the from clause. This problem only occurs if the view referenced in the cursor declaration contains a group by and a correlated subquery.

WORKAROUND

Avoid the conditions mentioned in the symptoms section.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5 Service Pack 1. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.

Modification Type:MajorLast Reviewed:10/3/2003
Keywords:kbBug kbfix kbother kbusage KB165557