Skip to main content

Synopsis

Description

The ITERATE statement allows processing of blocks in SQL routines to move processing back to the start of a context block. Contexts are defined by a label. If no label is found, the functions fails with an error message.

Examples

Further examples of varying complexity that cover usage of the ITERATE statement in combination with other statements are available in the SQL routines examples documentation.

See also