Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: GLOBAL TEMPORARY TABLE in Oracle 9.2.0.4
I think is senseless to drop a temporary table every time, becauase it
implies adittional unnecesary recursive work.
So I personally don't understand why to expect a temporary table should be
droped and recreated.
There is no overhead in keeping a temporary table.
Juan Carlos Reyes Pacheco
OCP
Database 9.2 Standard Edition
----- Original Message -----
From: "Mladen Gogala" <mladen_at_wangtrading.com>
To: <oracle-l_at_freelists.org>
Sent: Thursday, April 29, 2004 2:13 PM
Subject: Re: GLOBAL TEMPORARY TABLE in Oracle 9.2.0.4
I believe that the guy who asked the question expected the table to be gone
when the session logs out, but it isn't the case. Global temporary tables
are
nothing like the temporary tables from SQL server, which vanish when the
session
is done. I don't think that creatig/dropping tables at the end of the
session is
a good idea. I'm using GTT in several of my perl scripts in such a way that
I first
load data into a GTT and then run a PL/SQL procedure to transform the data
into the
required format, but I don't drop them. Most of those perl scripts are run
from cron.
On 04/29/2004 01:51:13 PM, Jonathan Lewis wrote:
>
-- Mladen Gogala Oracle DBA Note: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Thu Apr 29 2004 - 14:06:27 CDT
![]() |
![]() |