set serveroutput on
declare
begin
for i in 1..10 loop
dbms_output.put_line(i);
end loop;
end;
/
未対応の模様
do $$
declare
begin
for i in 1..10 loop
raise info '%', i;
end loop;
end
$$
;
declare @i int;
set @i = 1;
while (@i <= 10)
begin
print @i
set @i = @i + 1;
end