C:\Users\zengmiaogen>imp yinda/123456@127.0.0.1:1521/XE file=c:\hz_toolbox_0613.dmp full=y
Import: Release 11.2.0.2.0 - Production on 星期四 3月 9 10:15:39
Copyright (c) 1982, , Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
IMP-00038: 无法转换为环境字符集句柄
IMP-00000: 未成功终止导入
排除方法一:
查看dmp的字符集和要导入的oracle的字符集是否一致
查看oracle的字符集
select userenv('language') from dual;
查看
dmp 文件字符集
使用UltraEdit打开,会看到字符集。
排除方法二:
使用impdp导入。该方法比较复杂,在新博文里介绍。
操作不当会出现错误:
C:\Users\zengmiaogen>impdp yinda/123456@127.0.0.1:1521/XE file=c:\hz_toolbox_0613.dmp full=y
Import: Release 11.2.0.2.0 - Production on 星期四 3月 9 10:19:57
Copyright (c) 1982, , Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
ORA-39001: 参数值无效
ORA-39000: 转储文件说明错误
ORA-39088: 文件名不能包含路径说明
oracle导入dmp报20000 imp导入dmp文件报:IMP-00038: 无法转换为环境字符集句柄IMP-00000: 未成功终止导入...