BUG: AV Declaring Cursor Based on View w/ No Underlying TableID: Q151069
|
Declaring a cursor based on a view that has no underlying table can cause a
handled thread level access violation (AV) in Microsoft SQL Server 6.0.
In version 6.0 the error reported and written to the errorlog, looks like:
Error : 0, Severity: 19, State: 0
language_exec: Process 12 generated access violation; SQL Server is
terminating this process
If the view is representing constants, for example, consider using a temporary or permanent table to base the cursor on.
Microsoft has confirmed this to be a problem in SQL Server version 6.0.
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
This problem does not occur in Microsoft SQL Server version 6.5.
Additional query words: AV cursor view table
Keywords : kbprg kbusage SSrvErr_Log SSrvProg kbbug6.00
Version : 6.0 6.5
Platform : WINDOWS
Issue type :
Last Reviewed: March 25, 1999