SQLSTATE - Advanced SQL Engine - Teradata Database

SQL Stored Procedures and Embedded SQL

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
xqq1557098602407.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1148
lifecycle
previous
Product Category
Teradata Vantage™

SQLSTATE is a status variable to which SQL exception and completion conditions are posted. SQLSTATE is used both by embedded SQL applications and by stored procedures to reflect the execution status of a statement.

SQLSTATE codes represent successful completion and exception (error or failure) conditions. The keyword SQLEXCEPTION is used to represent all exception SQLSTATE values.

Related Topics

For more information about: