【发布时间】:2014-05-22 07:38:30
【问题描述】:
我想在具有不同字符集的数据库之间的数据导出/导入方面向您寻求帮助。我们从中导出的数据库是:
WE8ISO8859P1 / NCHAR AL16UTF16
要导入的数据库是:
UTF8 / UTF8
我尝试使用不同的 NLS_LANG 设置但没有成功(见下文)。在仅导入 cmets 时我没有收到任何错误,例如:
imp test/test@test file=mig_test.expdat log=imp.log
Import: Release 10.2.0.1.0 - Production on Thu May 22 08:54:36 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit
Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export file created by EXPORT:V10.02.01 via conventional path
import done in WE8ISO8859P1 character set and UTF8 NCHAR character set
import server uses UTF8 character set (possible charset conversion)
export client uses UTF8 character set (possible charset conversion)
export server uses AL16UTF16 NCHAR character set (possible ncharset conversion)
没有导入任何内容。感谢您的评论。
【问题讨论】:
-
“没有导入任何内容”这一事实与字符集转换无关。并且 UTF8 是一个你应该避免的 oracle 字符集,它没有正确实现 UTF8 Unicode 集。
标签: oracle import oracle11g export