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: Create table problem using Dynamic Query

Re: Create table problem using Dynamic Query

From: DA Morgan <damorgan_at_psoug.org>
Date: Mon, 05 Sep 2005 09:25:28 -0700
Message-ID: <1125937491.589396@yasure>


Ach C via DBMonster.com wrote:
> Hi all,
> I want to create a temporary table within a stored procedure so I decided to
> do it using a dynamic query:

I assume you are trying to kludge Oracle into being SQL Server: Don't.

A GTT is created once, and only once, when a schema is created along with it's heap tables. There is never a reason to create one in a stored procedure.

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Mon Sep 05 2005 - 11:25:28 CDT

Original text of this message

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