RESIGNAL Statement

Resignals an exception condition.

Quick Links:

Go to Examples

Go to Usage

Go to Standards

Go to Permissions

Syntax

RESIGNALexception-name ]

Examples

(back to top)

Usage

(back to top)

Within an exception handler, RESIGNAL lets you quit the compound statement with the exception still active, or quit reporting another named exception. The exception is handled by another exception handler or returned to the application. Any actions by the exception handler before the RESIGNAL are undone.

Standards

(back to top)

  • SQL—ISO/ANSI SQL compliant.
  • SAP Sybase Database product—Not supported in Adaptive Server. Error handling in Transact-SQL procedures is carried out using the RAISERROR statement.

Permissions

(back to top)

None

Related reference
BEGIN … END Statement
SIGNAL Statement