ASA SQL Reference SQL Language Elements Special values
Current SQLSTATE value
STRING
The SQLSTATE value is set after each statement. You can check the SQLSTATE to see whether or not the statement succeeded.
Expressions
Database Error Messages