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 -> Re: Procedure Performance Suggestion

Re: Procedure Performance Suggestion

From: Galen Boyer <galenboyer_at_hotpop.com>
Date: 24 Mar 2002 20:21:17 -0600
Message-ID: <u4rj59q3d.fsf@rcn.com>


On 22 Mar 2002, tkyte_at_oracle.com wrote:
> In article <a7fke4$be6$1_at_reader1.panix.com>, "R says...

>>
>>I have a procedure that builds the SELECT and uses Native Dyn. SQL
>>(execute immediate) to populate a table for report....

[...]

> create the table ONCE and reuse it over and over. My suggestion --
> use a GLOBAL TEMPORARY table with on commit delete rows and

Tom,

Won't the global temporary table lose data once the session is gone? How would this help if he's populating it for a report that someone else might run?

The rest of your post is, of course, correct, but I'm not sure of the temporary table idea for Rob.

-- 
Galen deForest Boyer
Sweet dreams and flying machines in pieces on the ground.
Received on Sun Mar 24 2002 - 20:21:17 CST

Original text of this message

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