C:\Users\Administrator>impdp u1/u1 dumpfile=tmp_1.dmp directory=dir tables=scott.tm_out_b1 logfile=1.
log
Import: Release 11.2.0.1.0 - Production on 星期一 5月 7 16:53:06 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31655: 尚未为作业选择数据或元数据对象
ORA-39154: 外部方案中的对象已从导入中删除
已成功加载/卸载了主表 "U1"."SYS_IMPORT_TABLE_01"
启动 "U1"."SYS_IMPORT_TABLE_01": u1/******** dumpfile=tmp_1.dmp directory=dir tables=scott.tm_out_b1
logfile=1.log
作业 "U1"."SYS_IMPORT_TABLE_01" 已于 16:53:10 成功完成
加上remap_schema
C:\Users\Administrator>impdp u1/u1 dumpfile=tmp_1.dmp directory=dir tables=scott.tm_out_b1 logfile=1.
log
Import: Release 11.2.0.1.0 - Production on 星期一 5月 7 16:53:06 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31655: 尚未为作业选择数据或元数据对象
ORA-39154: 外部方案中的对象已从导入中删除
已成功加载/卸载了主表 "U1"."SYS_IMPORT_TABLE_01"
启动 "U1"."SYS_IMPORT_TABLE_01": u1/******** dumpfile=tmp_1.dmp directory=dir tables=scott.tm_out_b1
logfile=1.log
作业 "U1"."SYS_IMPORT_TABLE_01" 已于 16:53:10 成功完成
注意: tables=表明 最好是写成对象 . 表名(例如:SCOTT.TM_OUT_B1) 否则
C:\Users\Administrator>impdp u1/u1 dumpfile=tmp_1.dmp directory=dir tables=tm_out_b1 logfile=1.log
Import: Release 11.2.0.1.0 - Production on 星期一 5月 7 16:52:26 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: 操作无效
ORA-39166: 找不到对象 U1.TM_OUT_B1。