ORACLE PLSQL 存储过程循环FOR

declare
  v2 VARCHAR2(250);
begin
  for i in 1 .. 20 loop
    SELECT f_get_globalid into v2 FROM DUAL;
    sys.dbms_output.put_line(v2);
  end loop;
end;

posted @ 2021-06-07 15:00  K____K  阅读(323)  评论(0编辑  收藏  举报