0

我正在使用 Oracle 数据库服务器在 Ubuntu 10.04 上开发一个 django 项目。所以我安装了:

  • Oracle 数据库 10g xe 通用 Rel.10.2.0.1.0
  • cx_Oracle-5.0.4-10g-unicode-py26-1.x86_64

当我导入由 oracle 10gr2 企业版(在 Windows XP 上)生成的 .dmp 文件时,我收到如下所列的错误,可能与字符集转换有关(我的数据库包含希腊语)并且我的数据没有完全同步。

> Username: 
Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Export file created by EXPORT:V10.02.01 via conventional path
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses EL8MSWIN1253 character set (possible charset conversion)
. . importing table                       "xxx"
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "xxx"."xxx"."xxx" (actual: 41, maximum: 40)
and so on

我的 oracle express 服务器使用以下设置运行:

NLS_CHARACTERSET AL32UTF8

NLS_DATE_LANGUAGE 美国

NLS_LANGUAGE 美国

NLS_LENGTH_SEMANTICS BYTE

NLS_NCHAR_CHARACTERSET AL16UTF16

NLS_NCHAR_CONV_EXCP 假

NLS_TERRITORY AMERICA

并且生成 .dmp 文件的数据库服务器正在运行

NLS_CHARACTERSET EL8MSWIN1253

NLS_NCHAR_CHARACTERSET AL16UTF16

有没有人提示我如何解决这个问题?

感谢你!

4

0 回答 0