CREATE OR REPLACE package types as
type cursorType is ref cursor;
end;
CREATE OR REPLACE procedure SP_CURSOR_TEST(ret_cursor out types.cursorType, p_num out number, p_text out varchar2 )
is
begin
select 3 , 'test3' into p_num, p_text from dual;
open ret_cursor for
SELECT
*
FROM COM_SAMPLE;
end;
2.sql xml Àû¿ë¿¹½Ã. Q_com_sample.xml ÆÄÀÏÂüÁ¶.
sql id="list_cursor_proc"
sql_id="list_cursor_proc_out_test"