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: Global Temporary Tables

Re: Global Temporary Tables

From: Rene Nyffenegger <rene.nyffenegger_at_gmx.ch>
Date: Fri, 22 Apr 2005 21:32:27 +0000 (UTC)
Message-ID: <d4bqhb$343$1@klatschtante.init7.net>


> Each,
>
> Am wanting to create a temporary table within a PLSQL package. Have
> used
>
> EXECUTE IMMEDIATE 'create global temporary table temp_status........'
>
> Problem now is that package wont compile due to insert statements for
> this table. Compiler has no idea about this temp table or its
> structure.
>
> I take it temporary tables arent designed for this use are am i
> missing something here?
>
> Cheers

You should create the global temporary table once. Each session can access it, but one session will not see the data another session has entered into this table.

Rene

-- 
  Rene Nyffenegger
  http://www.adp-gmbh.ch/
Received on Fri Apr 22 2005 - 16:32:27 CDT

Original text of this message

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