使用 11g 客户端从 Oracle 10g 数据库导出
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8592873/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Export from Oracle 10g database with 11g client
提问by bonsvr
Database Version : 10g Enterprise Edition Release 10.2.0.4.0
数据库版本:10g 企业版 Release 10.2.0.4.0
Client Version: 11g Enterprise Edition Release 11.2.0.1.0 (windows 7 64bit)
客户端版本:11g 企业版 Release 11.2.0.1.0 (windows 7 64bit)
When I try to export (exp) a table from database:
当我尝试从数据库导出(exp)一个表时:
exp usr/pass@remote_db file=f.dmp tables=table
I get the following error:
我收到以下错误:
EXP-00008: ORACLE error 904 encountered
EXP-00008:遇到 ORACLE 错误 904
ORA-00904: "POLTYP": invalid identifier
ORA-00904: "POLTYP": 无效标识符
EXP-00000: Export terminated unsuccessfully
EXP-00000:导出终止失败
I searched about it on the net and I understand that the problem is version incompatibility.
我在网上搜索了一下,我知道问题是版本不兼容。
What do you advice me to do about it?
你建议我怎么做?
NOTE: I also tried to export with data pump but it gives:
注意:我也尝试使用数据泵导出,但它给出了:
UDE-00018: Data Pump client is incompatible with database version 10.2.0.4.0
回答by DCookie
Generally speaking, Oracle export is not backward compatible with prior releases. You'll need to use the 10g export on the 10g database. Get the 10g client and install it with the database utilities option to get the exp/imp tools. On the flip side, Oracle imp is generally backward compatible with prior releases of exp.
一般来说,Oracle 导出与以前的版本不向后兼容。您需要在 10g 数据库上使用 10g 导出。获取 10g 客户端并使用数据库实用程序选项安装它以获取 exp/imp 工具。另一方面,Oracle imp 通常向后兼容 exp 的先前版本。
回答by Ankit
I use VERSION=10.2 from a 11g client
我使用来自 11g 客户端的 VERSION=10.2