16.20 - WHILE - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-24
dita:mapPath
wkf1512081455740.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval

Keyword introducing an iteration statement to repeat the execution of one or more statements within its defined scope.

The associated condition is checked before each iteration (including the first) and if true, the statements are performed. Otherwise, the WHILE statement completes with no further iterations.

See Teradata Vantage™ SQL Stored Procedures and Embedded SQL , B035-1148 for details.

DO
Keyword introducing the sequence of statements to be performed in the WHILE statement.
END WHILE
Keywords indicating the ending of the sequence of statements in the WHILE statement.