17.10 - ITERATE label_name - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1144-171K
Language
English (United States)
ITERATE
A keyword introducing the ITERATE statement to terminate the execution of the current iteration of a labeled iteration statement, and start the next iteration.
See Teradata Vantage™ - SQL Stored Procedures and Embedded SQL, B035-1148 for details.
label_name
The label_name references the iteration statement with which the label is associated, and whose current iteration is to be terminated.
The next iteration is started conditionally in WHILE or FOR, and unconditionally in LOOP and REPEAT.