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

Home -> Community -> Mailing Lists -> Oracle-L -> returning a query as a pipeline function

returning a query as a pipeline function

From: <ryan_gaffuri_at_comcast.net>
Date: Mon, 03 Dec 2007 17:17:31 +0000
Message-Id: <120320071717.1974.47543A2A000E3847000007B62207002953079D9A00000E09A1020E979D@comcast.net>


we do not want to give developers direct access to query our data in production. For java developers we are simply returning a ref cursor. We have some other people who want to go into production with Toad. Returning them a REF cursor requires them to write a bunch of code to parse the output and print it to the screen. So one option was to use a pipeline function.

The developer then queries the pipeline function.

All the examples I see involve some pl/sql loops that are piped back such as here:

http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4447489221109

do I need to

select bulk collect into the object

loop through the object and pipe it back row by row? Is there a better way?

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Dec 03 2007 - 11:17:31 CST

Original text of this message

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