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 -> Re: possible to return modified ref cursor?

Re: possible to return modified ref cursor?

From: Sybrand Bakker <gooiditweg_at_sybrandb.demon.nl>
Date: Thu, 19 Jun 2003 00:26:38 +0200
Message-ID: <ilp1fvom4ugikngfekr2n95a1goh10l600@4ax.com>


On 18 Jun 2003 14:18:54 -0700, techguy_chicago_at_yahoo.com (Bomb Diggy) wrote:

> In PL/SQL, I would
>guess the nomenclature would be 'build a Collection of Types and
>return to caller via REF CURSOR'. (??)

No. Just create a globally temporary table, insert your data in the table and return the table in a ref cursor as a select * from tempoary table.
Of course, *after* a second opinion whether your select *really* needs to be torn apart, as it is probably not going to be more efficient, at least not without bulk fetches,

Sybrand Bakker, Senior Oracle DBA

To reply remove -verwijderdit from my e-mail address Received on Wed Jun 18 2003 - 17:26:38 CDT

Original text of this message

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