create or replace function f_user_qr_qrycalloutuser
(
i_in_querytype in number,
str_o_result out varchar2
)
return sys_refcursor is
cur_result sys_refcursor;
begin
str_o_result := '00000000';
open cur_result for select t.configname, t.configname, t.configtype, t.configvalue, t.configname, t.configtype from usdpc45_zxy.t_config@HPC2 t;
exception
when others then
open cur_result for select 'x' from dual where 1 = 0;
return cur_result;
end f_user_qr_qrycalloutuser;
/
使用系统游标返回数据集
最新推荐文章于 2022-03-30 10:00:11 发布