declare begin for i in 1..10 loop dbms_output.put_line('Now on lap ' || i); end loop; end; /