3,497
社区成员
发帖
与我相关
我的任务
分享
--类似的存储过程
create or replace procedure aa
is
vtime varchar2(100);
cursor cur is select 1 from dual;
begin
open cur;
loop
if 1=1 then
fetch cur into vtime;
dbms_output.put_line('aa');
exit when cur%NOTFOUND;
end if;
dbms_output.put_line('bb');
end loop;
end;