Skip to content

Instantly share code, notes, and snippets.

@JubbaSmail
Created December 22, 2014 23:42
Show Gist options
  • Save JubbaSmail/5251e00bb8ac55a80daa to your computer and use it in GitHub Desktop.
Save JubbaSmail/5251e00bb8ac55a80daa to your computer and use it in GitHub Desktop.
declare
x number;
begin
for i in 0..10 loop
dbms_output.put_line('+'||i);
end loop;
--------------------------
x:=10;
loop
if x < 0 then
exit;
end if;
dbms_output.put_line('-'||x);
x:=x-1;
end loop;
end;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment