Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - Database Management and Reference » UltraLite SQL Reference » UltraLite SQL elements reference » Special values in UltraLite

 

SQLCODE special value

Current SQLCODE value at the time the special value was evaluated.

Data type

String

Remarks

The SQLCODE value is set after each statement. You can check the SQLCODE to see whether or not the statement succeeded.

See also
Example

Use a SELECT statement to produce an error code for each attempt to fetch a new row from the result set. For example: SELECT a, b, SQLCODE FROM MyTable.