Keyword introducing an sqlstate value for which the exception or completion condition is to be handled.
You can specify any number of sqlstate values prefixed by SQLSTATE or SQLSTATE VALUE in a comma-separated list within each handler declaration.
- Optional keyword prefixing the sqlstate value.
- Five-character string value that indicates a completion condition for the SQL statement. This is always delimited by APOSTROPHE characters.
- A given sqlstate value cannot be a part of more than one DECLARE HANDLER statements and cannot be repeated within a FOR clause.