Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从存储过程中获取 SYSREFCUROSOR 作为输出参数,如何在 oracle 调度程序作业中调用该 SP 并传递该参数?
如果您要丢弃 ref 游标,则创建一个执行此操作的包装程序;就像是:
create procedure wrapper_proc as l_refcursor sys_refcursor; begin orig_proc(l_refcursor); close l_refcursor; end; /
然后在您计划的作业中调用包装程序。