【沙僧笔记】
Oracle存储过程中使用游标返回数据表
1.在存储过程的参数中设置出参变量
mycursor out sys_refcursor
例如:
create or replace Procedure zl_游标出参_query(input_in In xmltype,
mycursor out sys_refcursor)Is
2.在过程中用法
begin
open mycursor for
select 'a','b','c' from dual;