Microsoft KB Archive/165557

From BetaArchive Wiki
Knowledge Base


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

Article ID: 165557

Article Last Modified on 10/3/2003



APPLIES TO

  • Microsoft SQL Server 6.5 Service Pack 1



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.


Additional query words: Errorlog

Keywords: kbbug kbfix kbother kbusage KB165557