Raising Conditions | Teradata Vantage - Raising Conditions - Teradata Vantage - Analytics Database

SQL Stored Procedures and Embedded SQL

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-10-30
dita:mapPath
frc1628111662093.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
rjx1472253414573
lifecycle
latest
Product Category
Teradata Vantageā„¢

During execution of SQL statements within a stored procedure, conditions are raised when the SQL statements complete execution or result in an error or warning.

You can also explicitly raise an exception condition, a completion condition (other than successful condition), or a user-defined condition using the SIGNAL statement.

You can use the RESIGNAL statement to resignal or invoke a condition from a handler declaration. You can explicitly specify the RESIGNAL statement only in a handler declaration. RESIGNAL always propagates the condition outward. When a RESIGNAL statement is submitted from a handler action, the outer containing compound statements are searched to find the appropriate handler to handle the condition raised by the RESIGNAL statement.

Related Information

For more information about, see SIGNAL and RESIGNAL statements, see SIGNAL and RESIGNAL.