Oracel与SQL Server select into的区别(转载)

现在有表
tablea
(
cola int ,
colb varchar(20)
)
要把tablea中满足条件(cola <100)的记录生成新的表tableb。
在ms sqlserver 可以直接用select into语法:
select * into tableb
where cola < 100
在oracle中语法如下:
create table tableb_tmp
as
(
select * from tablea
    where cola <100
)

posted on 2008-12-17 14:16  DoNet鸟  阅读(1071)  评论(0编辑  收藏  举报

导航