SQLSTATE special value

Function

Current SQLSTATE value.

Data type

STRING

Description

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

See also

“Expressions”

Chapter 1, “SQL Statements,” in System Administration Guide: Volume 2