Difference between revisions of "Oracle/Select into table"

From YavInWiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
In Oracle we have no such thing as a "SELECT * INTO table" statement, like we have in [[T-SQL]]. But we have alternatives.
In Oracle we have no such thing as a "SELECT * INTO table" statement, like we have in [[T-SQL]]. But we have alternatives.


<source lang="oractle11">
<source lang="oracle11">
create table new_table as select * from old_table;
create table new_table as select * from old_table;
</source>
</source>
[[Category:Oracle]]

Latest revision as of 11:34, 10 December 2009

In Oracle we have no such thing as a "SELECT * INTO table" statement, like we have in T-SQL. But we have alternatives.

create table new_table as select * from old_table;