在oracle中,您可以发出:
create table foo as select * from bar;
什么是等效的T-sql语句?
您可以使用
原文链接:https://www.f2er.com/oracle/206206.htmlSELECT INTO
.从MSDN:
The SELECT INTO statement creates a new table and populates it with
the result set of the SELECT statement. SELECT INTO can be used to
combine data from several tables or views into one table. It can also
be used to create a new table that contains data selected from a
linked server.
所以:
SELECT col1,col2,col3 INTO newTable FROM existingTable;