Re: Dynamic SQL in in 7.3.4

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: 23 Sep 2001 14:36:33 -0700
Message-ID: <9olkl10coo_at_drn.newsguy.com>


In article <9ojq6p$98b$1_at_newstest.laserlink.net>, "Ravi says...
>
>Hi all,
> I am having a peculiar problem. I am unable to use a ref cursor variable
>(IN OUT) type in a pl/sql procedure which uses dynamic sql Has anyone done
>this before.
> Any examples would be appreciated.
>Thanks
>Ravi A
>
>

This is a new feature of Oracle8i release 1 (815) and up only.

Before that (734) it is physically impossible to dynamically open a ref cursor.

You can use dbms_sql for this but it will be a dbms_sql cursor -- not a ref cursor.

--
Thomas Kyte (tkyte_at_us.oracle.com)             http://asktom.oracle.com/ 
Expert one on one Oracle, programming techniques and solutions for Oracle.
http://www.amazon.com/exec/obidos/ASIN/1861004826/  
Opinions are mine and do not necessarily reflect those of Oracle Corp 
Received on Sun Sep 23 2001 - 23:36:33 CEST

Original text of this message