|
|
SIGNAL
Raises the specified exception condition.
Usage
Description
The
SIGNALstatement has the effect of raising an exception condition specified by anSQLSTATEvalue or a condition name.If a condition identifier is used in the statement the associated SQLSTATE value is raised. If the condition identifier is declared without an
SQLSTATEvalue, theSQLSTATE45000is raised. If there is an appropriate exception handler for thisSQLSTATE, this handler will be invoked otherwise theSQLSTATEis propagated to the calling environment.Note that an
SQLSTATEvalue corresponding to a warning condition that is not catched by an exception handler will not be propagated to the calling environment.Notes
See DECLARE CONDITION for a description of how to declare a condition name.
Example
SIGNAL SQLSTATE 'UE456';For more information, see the Mimer SQL Programmer's Manual, SIGNAL Statements.
Standard Compliance
|
Mimer Information Technology AB Voice: +46 18 780 92 00 Fax: +46 18 780 92 40 info@mimer.se |
|
|