Error 1241

"Value-sensitive cursor used after a TRUNCATE"

Item Description

SQLCode

-1241L

Constant

HOLD_CURSOR_AFTER_TRUNCATE

SQLState

24001

ODBC 2 State

24000

ODBC 3 State

24000

Sybase Error Code

2924

Severity Code

16

Probable cause

You attempted to use a value-sensitive cursor opened WITH HOLD after a TRUNCATE or after a COMMIT removed all rows from a temporary table declared as ON COMMIT DELETE ROWS.


Created April 27, 2010. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com