AddThis Social Bookmark Button

PRINT ODD numbers  between 1 to 100

Declare
NUM1 number:=1;
begin
loop
NUM1 := NUM1+2;
dbms_output.put_line (NUM1||',');
exit when NUM1=100;
end loop;
end;