Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Parameterized Ref Cursor
On 2 Jul 2005 04:50:03 -0700, "Meenu" <meenu.desai_at_gmail.com> wrote:
>Hi,
>
>Is it possible to implement a "PARAMETRIZED REF CURSOR" in Oracle? How?
>
>Can I use "TYPE My_Cur(P_NAME VARCHAR2) IS REF CURSOR;" in Oracle?
>
>Thanks in advance,
>Meenu.
No, you can't
This is not a problem as you can use bind variables in your
dynamically set up statement.
just use
open cv for
'select * from emp where empno =:1' using p_empno;
-- Sybrand Bakker, Senior Oracle DBAReceived on Sat Jul 02 2005 - 07:03:08 CDT
![]() |
![]() |