imp-00038
Posted halberd-lee
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了imp-00038相关的知识,希望对你有一定的参考价值。
IMP-00038
1 现象
报错信息:
IMP-00038: Could not convert to environment character set‘s handle IMP-00000: Import terminated unsuccessfully
2 原因
dmp 文件是由expdp工具导出,而导入时使用的是Imp导入,文件格式不匹配。
3 解决方法
使用impdp 导入对应的dmp文件。
[oracle@xycvt28 dump]$ ls bm.dmp bm.log mr.dmp qita.dmp rep.log rep_nodata.dmp so.log so_nodata.dmp [oracle@xycvt28 dump]$ impdp ‘/ as sysdba‘ directory=dump_dir dumpfile=bm.dmp logfile=bm.log transform=segment_attributes:n Import: Release 11.2.0.4.0 - Production on Mon Mar 30 02:09:53 2020 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options Master table "SYS"."SYS_IMPORT_FULL_01" successfully loaded/unloaded Starting "SYS"."SYS_IMPORT_FULL_01": "/******** AS SYSDBA" directory=dump_dir dumpfile=bm.dmp logfile=bm.log transform=segment_attributes:n Processing object type SCHEMA_EXPORT/USER ORA-31684: Object type USER:"BM" already exists Processing object type SCHEMA_EXPORT/SYSTEM_GRANT Processing object type SCHEMA_EXPORT/ROLE_GRANT
.......
Created: 2020-03-30 Mon 20:54
以上是关于imp-00038的主要内容,如果未能解决你的问题,请参考以下文章