Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: SELECT INTO temp table

RE: SELECT INTO temp table

From: Yasin Baskan <>
Date: Mon, 26 Sep 2005 17:40:59 +0300
Message-ID: <083667B535F3464CA0DD0D1DAFA4E3760744D58A@camexc1.kfs.local>

I do not know what T-SQL is and what select...into #table does, but if you are asking how to copy a table to another one you can use:

Create table new_table as select * from old_table;

It creates new_table with the same column names and types as old_table and inserts all records from old_Table to new_table.

-----Original Message-----

[] On Behalf Of Dominik Smatana Sent: Monday, September 26, 2005 5:33 PM To:
Subject: SELECT INTO temp table

Hello, newbie question:

is there any Oracle 9.2i SQL alternative to T-SQL commant SELECT ... INTO #table ?

Dominik Smatana


Bu mesaj ve onunla iletilen tum ekler gonderildigi kisi ya da kuruma ozel ve Bankalar Kanunu geregince, gizlilik yukumlulugu tasiyor olabilir. Bu mesaj, hicbir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz; mesajin yetkili alicisi veya alicisina iletmekten sorumlu kisi degilseniz, mesaj icerigini ya da eklerini kopyalamayiniz, yayinlamayiniz, baska kisilere yonlendirmeyiniz ve mesaji gonderen kisiyi derhal uyararak bu mesaji siliniz. Bu mesajin iceriginde ya da eklerinde yer alan bilgilerin dogrulugu, butunlugu ve guncelligi Bankamiz tarafindan garanti edilmemektedir ve bilinen viruslere karsi kontrolleri yapilmis olarak yollanan mesajin sisteminizde yaratabilecegi zararlardan Bankamiz sorumlu tutulamaz.

This message and the files attached to it are under the privacy liability in accordance with the Banking Law and confidential to the use of the individual or entity to whom they are addressed. This message cannot be copied, disclosed or sold monetary consideration for any purpose. If you are not the intended recipient of this message, you should not copy, distribute, disclose or forward the information that exists in the content and in the attachments of this message; please notify the sender immediately and delete all copies of this message. Our Bank does not warrant the accuracy, integrity and currency of the information transmitted with this message. This message has been detected for all known computer viruses thence our Bank is not liable for the occurrence of any system corruption caused by this message
-- Received on Mon Sep 26 2005 - 09:41:45 CDT

Original text of this message