IMP-00038: Could notconvertto environment characterset's handle
IMP-00000: Importterminated unsuccessfully
impdp 導入功能演示: 先登錄 oracle 庫。
C:\Users\Administrator>sqlplus ncc_qt/1@orclSQL*Plus: Release11.2.0.4.0 Production on Tue Jun 215:38:002020Copyright (c)1982,2013, Oracle.All rights reserved.Connected to:
Oracle Database11g Enterprise Edition Release11.2.0.4.0-64bit Production
With the Partitioning, OLAP,Data Mining andReal Application Testing options
然后創建一個 directory,路徑指向 dmp 文件所在的位置。 然后 quit 退出來。
SQL>create directory dmp_site as'f:';Directory created.SQL> quit
Disconnected from Oracle Database11g Enterprise Edition Release11.2.0.4.0-64bit Production
With the Partitioning, OLAP,Data Mining andReal Application Testing options
dumpfile 直接對應 dmp 名即可。 remap_schema=A:B 命令可以用來把原來 Ashema 表的數據導入到 B 表中。
C:\Users\Administrator>impdp ncc_qt/1@orcl directory=dmp_site dumpfile=ncc0303.d
mp remap_schema=ncc0303:ncc_qtImport: Release11.2.0.4.0- Production on Tue Jun 216:20:182020Copyright (c)1982,2011, Oracle and/or its affiliates.All rights reserved.Connected to: Oracle Database11g Enterprise Edition Release11.2.0.4.0-64bit
Production
With the Partitioning, OLAP,Data Mining andReal Application Testing options
Master table"NCC_QT"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting"NCC_QT"."SYS_IMPORT_FULL_01": ncc_qt/********@orcl directory=dmp_sitedumpfile=ncc0303.dmp remap_schema=ncc0303:ncc_qt
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object typeUSER:"NCC_QT" already exists
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE... 省略導入過程.. imported "NCC_QT"."ZDP_1000000000JJR1"0 KB 0rows.. imported "NCC_QT"."ZDP_1000000000JJR3"0 KB 0rows
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_INDEX/IND
EX_STATISTICS
Processing object type SCHEMA_EXPORT/VIEW/VIEW
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job "NCC_QT"."SYS_IMPORT_FULL_01" completed with1 error(s) at Tue Jun 216:35:122020 elapsed 000:14:54