Home > Database > Mysql Tutorial > body text

将Oracle 11g的表导出并导入到10g中

WBOY
Release: 2016-06-07 17:16:07
Original
1062 people have browsed it

由于oracle版本问题,11g默认导出的表将无法导入到10g中会报如下错误:Connected to: Oracle Database 10g Enterprise Edition R

Linux公社

首页 → 数据库技术

背景:

阅读新闻

将Oracle 11g的表导出并导入到10g中

[日期:2012-07-11] 来源:Linux社区  作者:db_wjw [字体:]

由于Oracle版本问题,11g默认导出的表将无法导入到10g中
会报如下错误:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-39142: incompatible version number 3.1 in dump file "/oracle/product/10.2.0/rdbms/log/accmonthtrace.dmp"

利用version参数可将11g的表导出并导入到10g中:
从11g导出:
expdp account directory=data_pump_dir dumpfile=accmonthtrace.dmp logfile=accmonthtracetmp.log

tables=accmonthtrace version=10.2.0.1.0
从10g导入:
impdp account directory=data_pump_dir dumpfile=accmonthtrace.dmp logfile=accmonthtracetmp.log

table_exists_action=replace

linux

  • 0
  • MySQL数据复制、迁移、转换

    Oracle中修改sysman和dbsnmp密码正确流程

    相关资讯       oracle数据库教程 

    图片资讯      

    本文评论   查看全部评论 (0)

    评论声明

    最新资讯

    本周热门

    Linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
    本站(LinuxIDC)所刊载文章不代表同意其说法或描述,,仅为提供更多信息,也不构成任何建议。


    Copyright © 2006-2011 Linux公社 All rights reserved 浙ICP备06018118号

    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!