Control Statements in Stored Procedures - Advanced SQL Engine - Teradata Database

SQL Stored Procedures and Embedded SQL

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-28
dita:mapPath
vqj1592443206677.ditamap
dita:ditavalPath
vqj1592443206677.ditaval
dita:id
B035-1148
lifecycle
previous
Product Category
Teradata Vantageā„¢

You can use control statements and control declarations to write a stored procedure.

Control statements give computational completeness to SQL by providing assignment, conditional execution, loop, and branch capabilities to that language.

Control declarations contain the condition handlers and local variables in a stored procedure.

Related Information

For more information about the list of control statements and control declarations used to write a stored procedure, see SQL Control Statements.