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 -> PL/SQL: dynamic sql and multiple rows

PL/SQL: dynamic sql and multiple rows

From: <emurphy_at_my-dejanews.com>
Date: Fri, 20 Nov 1998 16:59:10 GMT
Message-ID: <73474h$t0m$1@nnrp1.dejanews.com>


I understand from messages I've seen here and from the Oracle documentation that the way to retrieve multiple rows from PL/SQL is via cursor variables.

And I understand that the way to execute dynamic sql statements from PL/SQL is using the dbms_sql package.

So, how does one return multiple rows from a PL/SQL procedure using a dynamic query? Is it possible to use the dbms_sql package and return a cursor pointer?

Thanks in advance.

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Fri Nov 20 1998 - 10:59:10 CST

Original text of this message

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