Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: SELECT INTO new_table

Re: SELECT INTO new_table

From: Gints Plivna <gints.plivna_at_gmail.com>
Date: Mon, 21 Nov 2005 12:56:56 +0200
Message-ID: <6e49b6d00511210256n697f7d9bs2a7ab029a9926171@mail.gmail.com>


Most probably you'd like to revisit your programming approach and not to use the very same technique like in MSSQL and Transact-SQL. Yea, I'v seen technique to use many temporary tables in Transact-SQL procedures (and was horrified by it) but although it may be acceptable and advisable in MSSQL, it definitely isn't advisable in Oracle. One direct way to avoid it is to use global temporary tables, other ways probably aren't directly related, they might be task-specific ways.

Here is a link in asktom about this problem: http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:6630620415602

Gints Plivna

On 11/21/05, Dominik Smatana <dominik_at_ttsm.net> wrote:
> Hello,
> is there any way in Oracle to dynamically create a new temporary table
> direct from select?
>
> Like In Transact SQL :
> SELECT <something> INTO <new_table> FROM....
>
> Thanks.
> Dominik Smatana

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Nov 21 2005 - 04:58:56 CST

Original text of this message

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