RE: SELECT INTO temp table

Thanks! That's what i was looking for :-) 

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
On Behalf Of Yasin Baskan
Sent: 26 September 2005 16:41
To: dominik@xxxxxxxx; oracle-l@xxxxxxxxxxxxx
Subject: RE: SELECT INTO temp table



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-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Dominik Smatana
Sent: Monday, September 26, 2005 5:33 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: SELECT INTO temp table


Hello, newbie question:

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

Thanks
Dominik Smatana

--
http://www.freelists.org/webpage/oracle-l



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
--
http://www.freelists.org/webpage/oracle-l

--
http://www.freelists.org/webpage/oracle-l

Other related posts: