首先把dup文件拷贝到oracle安装目录C:\app\Administrator\admin\orcl\dpdump 这个文件夹下面
然后在cmd中执行
impdp xxx/yyy dumpfile=zzz.DUP REMAP_SCHEMA=xxx:yyy EXCLUDE=USER table_exists_action=replace
参数 table_exists_action=replace 会替换原有的表数据
首先把dup文件拷贝到oracle安装目录C:\app\Administrator\admin\orcl\dpdump 这个文件夹下面
然后在cmd中执行
impdp xxx/yyy dumpfile=zzz.DUP REMAP_SCHEMA=xxx:yyy EXCLUDE=USER table_exists_action=replace
参数 table_exists_action=replace 会替换原有的表数据
转载于:https://www.cnblogs.com/rdchen/p/11303571.html