FIX: AV Declaring a Cursor Involving Conversion to BitID: Q155182
|
If you declare a non-insensitive cursor, which involves selecting a value converted to the bit datatype, a handled Access Violation occurs.
Do not convert to the bit datatype or declare the cursor as INSENSITIVE.
Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.
The following script can cause a handled access violation:
create table X (C1 bit not null)
go
declare X_cursor cursor for
select convert(bit, 0) from X
go
Additional query words: AV SCROLL READ ONLY UPDATE OF
Keywords : kbprg SSrvProg kbbug6.50 kbfix6.50.sp2
Version : 6.5
Platform : WINDOWS
Issue type :
Last Reviewed: April 1, 1999