FOR
Loop through a range or cursor result set. This control flow statement repeatedly executes a block of code for each item in a specified range or query.
Syntax
[begin_label:]
FOR var_name IN [ REVERSE ] lower_bound .. upper_bound
DO statement_list
END FOR [ end_label ][begin_label:]
FOR record_name IN cursor_name [ ( cursor_actual_parameter_list)]
DO statement_list
END FOR [ end_label ][begin_label:]
FOR record_name IN cursor_name [ ( cursor_actual_parameter_list)]
LOOP
statement_list
END LOOP [ end_label ]Description
Examples
See Also
Last updated
Was this helpful?

