SQL related operators
SQL related operators allow you to retrieve the SQL state and the SQL error message.
Operator | Description |
---|---|
SQLSTATE [variable] | The SQLSTATE predefined variable returns
the code corresponding to the last SQL error. |
SQLERRMESSAGE [variable] | The SQLERRMESSAGE predefined
variable holds the error message corresponding to the last SQL error. |