你好,游客 登录 注册 搜索
背景:
阅读新闻

Oracle 11g数据库迁移到9i报 IMP-00003 ORA-00096 IMP-00000

[日期:2013-03-25] 来源:Linux社区  作者:luoping [字体:大 中 小]

再次导出导入正常

  1. [Oracle9i@rhel4 admin]$ exp scott/ORACLE@orcl11g file='/tmp/scott_test_exp.dmp' tables='test_exp';
  2. Export: Release 9.2.0.4.0 - Production on Fri Mar 22 07:25:43 2013
  3. Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
  4. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
  5. With the Partitioning, OLAP, Data Mining andReal Application Testing options
  6. Export done in US7ASCII charactersetand AL16UTF16 NCHARcharacterset
  7. server uses ZHS16GBK characterset (possible charset conversion)
  8. About to export specified tables via Conventional Path ...
  9. . . exporting table TEST_EXP 74622 rows exported
  10. Export terminated successfully without warnings.
  11. [oracle9i@rhel4 admin]$ imp scott/oracle file='/tmp/scott_test_exp.dmp' tables='test_exp'
  12. Import: Release 9.2.0.4.0 - Production on Fri Mar 22 07:25:51 2013
  13. Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
  14. Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
  15. With the Partitioning, OLAP and Oracle Data Mining options
  16. JServer Release 9.2.0.4.0 - Production
  17. Export file created by EXPORT:V09.02.00 via conventional path
  18. import done in US7ASCII charactersetand AL16UTF16 NCHARcharacterset
  19. import server uses ZHS16GBK characterset (possible charset conversion)
  20. . importing SCOTT's objects into SCOTT
  21. . . importing table"TEST_EXP" 74622 rows imported
  22. Import terminated successfully without warnings.

11G中改回原来的视图定义

  1. [oracle11g@rhel4 sql]$ sqlplus / as sysdba
  2. SQL*Plus: Release 11.2.0.3.0 Production on Mon Mar 25 02:15:51 2013
  3. Copyright (c) 1982, 2011, Oracle. All rights reserved.
  4. Connected to:
  5. Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
  6. With the Partitioning, OLAP, Data Mining andReal Application Testing options
  7. SQL> CREATEORREPLACEVIEW exu9defpswitches (
  8. 2 compflgs, nlslensem ) AS
  9. 3 SELECT a.value, b.value
  10. 4 FROM sys.v$parameter a, sys.v$parameter b
  11. 5 WHERE a.name = 'plsql_compiler_flags'AND
  12. 6 b.name = 'nls_length_semantics'
  13. 7 ;
  14. View created.
  15. SQL> exit
  16. Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
  17. With the Partitioning, OLAP, Data Mining andReal Application Testing options

参考文档:

Export From 11g using EXP Utility Version 9iR2 Produces Corrupt Export Dump [ID 550740.1]

更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款