Retrieving Ref Cursors
Posted: Wed 05 Nov 2008 07:53
Hi,
I have an oracle stored procedure that returns Ref Cursor
PROCEDURE getEmps
(cur_OUT OUT return_cur)
IS
BEGIN
OPEN cur_OUT FOR
SELECT empno,ename,job
FROM emp;
END;
When I add this sp to my sample EDM,the mode of the Ref Cursor:cur_OUT is always shown as "IN" and as such when I make a function import to the EDM,it is always taken as input parameter.
Has anyone tried using Ref Cursors in the EDM?If yes,please let me know the way to resolve this problem.
Thanks in advance,
Chandrasekhar M
I have an oracle stored procedure that returns Ref Cursor
PROCEDURE getEmps
(cur_OUT OUT return_cur)
IS
BEGIN
OPEN cur_OUT FOR
SELECT empno,ename,job
FROM emp;
END;
When I add this sp to my sample EDM,the mode of the Ref Cursor:cur_OUT is always shown as "IN" and as such when I make a function import to the EDM,it is always taken as input parameter.
Has anyone tried using Ref Cursors in the EDM?If yes,please let me know the way to resolve this problem.
Thanks in advance,
Chandrasekhar M