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

SQL Anywhere 10.0.1 » UltraLite - Database Management and Reference » UltraLite SQL Elements Reference » Special values in UltraLite

CURRENT TIMESTAMP special value Next Page

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.