Oracle for loop

DECLARE  
i number;
j number;
begin
i:=0;
FOR i IN 1..100 loop
select SO_REDO_LOG_SEQ.nextval into j from dual;
end loop;
end;
 

猜你喜欢

转载自hhhk.iteye.com/blog/1451011