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”
Chapter 1, “SQL Statements,” in System Administration Guide: Volume 2