Oracle 表数据复制

表结构相同情况下,作数据复制,数据拆分,数据合并。

目标表不存在:

create table test_bak as select * from test;

目标表存在:

insert into test1 select * from test;

sqlplus中:

copy from user1/pwd1@sid1 to user2/pwd2@sid2 append destination_table using select * from source_table;

oralce内部实现命令,自动分批提交,效率比较高,可以在不同服务器间拷贝数据。

posted on 2014-04-27 11:30  guarder  阅读(233)  评论(0)    收藏  举报