日期:2014-05-17  浏览次数:20910 次

oralce导出报错
执行oracle导出命令:exp userid=unionuser/unionoptr@uniondb tables=RNC file=D:\database\RNC.dmp
但是提示错误,请高手帮忙解释下这个是什么原因呢?

C:\Documents and Settings\Administrator>exp userid=unionuser/unionoptr@uniondb tables=RNC file=D:\database\RNC.dmp

Export: Release 11.2.0.1.0 - Production on 星期五 11月 9 14:54:02 2012

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.


连接到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集

即将导出指定的表通过常规路径...
EXP-00008: 遇到 ORACLE 错误 904
ORA-00904: "POLTYP": 标识符无效
EXP-00000: 导出终止失败


------最佳解决方案--------------------
版本问题
x86_64bit的Oracle导出x86bit的Oracle会报此错,11gR1,11gR2导出10g的Oracle也会报此错,只有满足10g的x86bit客户端导出10g的x86bit的Oracle Database才能正常导出。
------其他解决方案--------------------
引用:
执行oracle导出命令:exp userid=unionuser/unionoptr@uniondb tables=RNC file=D:\database\RNC.dmp
但是提示错误,请高手帮忙解释下这个是什么原因呢?

C:\Documents and Settings\Administrator>exp userid=unionuser/unionoptr……


版本问题!!
执行导出的客户端数据库版本与服务端数据库版本不一致。即使大版本相同,而小版本不同都不行。必须完全相同。最起码执行exp命令的客户端数据库版本不能高于服务端的数据库版本。