Control Statements in Stored Procedures - 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ā„¢

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.