Oracle复制表中数据

一、insert into select

insert into table1 (字段1,字段2) select  字段1,字段2 from table2

这种方式需要table1表和对象的字段都必须存在

二、create table as select

create table table1 as select * from table2

这种方式是根据table2的表结构创建table1

posted on 2021-07-07 15:07  lovezj9012  阅读(299)  评论(0编辑  收藏  举报

导航