BUG: Dynamic Cursor Inside a Stored Procedure Using ISNULL() or Date Function May Cause AV (249628)
The information in this article applies to:
This article was previously published under Q249628
BUG #: 17695 (SQLBUG_65)
SYMPTOMS
If a dynamic SELECT cursor is created using the ISNULL() function or a date function, it results in an access violation (AV) when executed. For the access violation to occur, the following conditions must be met:
The problem occurs on all builds of SQL Server 6.5, from release to Service Pack 5a. It does not occur in SQL Server 7.0.
WORKAROUND
Declaring the cursor as INSENSITIVE prevents the access violation from occurring.
STATUS
Microsoft has confirmed this to be a problem in SQL Server 6.5.
Modification Type: | Major | Last Reviewed: | 10/3/2003 |
---|
Keywords: | kbbug kbpending KB249628 |
---|
|