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

Home -> Community -> Usenet -> c.d.o.server -> How to get a cursor from a dynamic query within a procedure?

How to get a cursor from a dynamic query within a procedure?

From: baroncrampantc via DBMonster.com <u11311_at_uwe>
Date: Tue, 11 Apr 2006 15:24:30 GMT
Message-ID: <5e9f63c847ad3@uwe>


Hi all,
 I want to execute a dynamic query using "EXECUTE IMMEDIATE" and return the result as a OUT parameter of procedure. I can not use OPEN test_cur FOR..." method so is there any other way to do this?  And what about if I want to do this and return an int from that dynamic query as an OUT param? e.g. a SUM().
 -Thanks in advance for your help

-- 
Message posted via DBMonster.com
http://www.dbmonster.com/Uwe/Forums.aspx/oracle/200604/1
Received on Tue Apr 11 2006 - 10:24:30 CDT

Original text of this message

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