SQL> copy from create empcopy using select * from scott.emp;
在SQL*Plus中的copy命令,可以完成远程数据库、本地数据库或Oracle数据库与非Oracle数据库之间的数据复制。其性能与导入/导出相同。
copy的基本命令格式:
copy {from source_database |to destination_database}
{append|create|insert|replace}destination_table[(column,column,column,...)]
using<source_select_statement>
其中数据库连接使用如下格式:
username/password\]@connect_identifier
转载于:https://blog.51cto.com/huqianhao/956936