Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Cursor with dynamic query

Cursor with dynamic query

From: Vigi98 <vigi98_at_dejanews.com>
Date: Tue, 21 Aug 2001 09:50:28 GMT
Message-ID: <E9qg7.188$xN2.903275@nnrp3.proxad.net>


Hello all,

I'm used to write "OPEN cursor FOR SELECT tata FROM toto;" where cursor is a cursor.

Now, I would like to do the same with a dynamic query, something like "OPEN cursor FOR v_query;"
where v_query is a VARCHAR containing the query.

How to do that ? PL/SQL does not accept this syntax.

Thanks for all your answers. Received on Tue Aug 21 2001 - 04:50:28 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US