(mysql.info) declare-conditions
Info Catalog
(mysql.info) conditions-and-handlers
(mysql.info) conditions-and-handlers
(mysql.info) declare-handlers
17.2.8.1 `DECLARE' Conditions
.............................
DECLARE CONDITION_NAME CONDITION FOR CONDITION_VALUE
CONDITION_VALUE:
SQLSTATE [VALUE] SQLSTATE_VALUE
| MYSQL_ERROR_CODE
This statement specifies conditions that need specific handling. It
associates a name with a specified error condition. The name can
subsequently be used in a `DECLARE HANDLER' statement. See
declare-handlers.
A CONDITION_VALUE can be an SQLSTATE value or a MySQL error code.
Info Catalog
(mysql.info) conditions-and-handlers
(mysql.info) conditions-and-handlers
(mysql.info) declare-handlers
automatically generated byinfo2html