Error 297

"User-defined exception signaled"

Item Description

SQLCode

-297L

Constant

USER_DEFINED_EXCEPTION

SQLState

99999

ODBC 2 State

ERROR

ODBC 3 State

ERROR

Sybase Error Code

2186

Severity Code

16

Probable cause

A stored procedure or trigger signaled a user-defined exception. This error state is reserved for use within stored procedures or triggers that contain exception handlers, as a way of signaling an exception that can be guaranteed to not have been caused by the database server. Valid SQLSTATE values range from 99000 to 99999 and are set by the user when executing the signal SQL statement.


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