statement - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
ncd1596241368722.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

The SQL procedure body.

You must specify either a single statement or a BEGIN-END compound statement.

You cannot specify any of the following as a single statement in an SQL procedure body:
  • Local variable, cursor, or handler declarations
  • Cursor statements

The following SQL statement sets can be specified as the SQL procedure body.

You can also specify any of the statements in these categories in a statement_list within compound statements, condition statements (CASE and IF), iteration statements, and in the handler action part of a condition handler declaration.