Examples. Example 1-2, "Processing Query Result Rows One at a Time" · Example 4-9, "Basic LOOP Statement with EXIT Statement".
docs.oracle.com