How to store result of a function which will return sysrefcursor?
问题 Scenario: there is an procedure inside which we have a cursor. I need to call a function which will take an input from that cursor value and will return SYS_REFCURSOR . I need to store that result of function in a different variable/cursor & need to return this value from procedure as out parameter. I am using Oracle 11g. How can I proceed? PFB My Approach: create or replace procedure prc_test (p_dept_id in number, c_detail out sysrefcursor)--need to add extra out parameter as var1 varchar2