使用 SQL Developer 导入 Oracle .dmp 文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/33660794/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 00:58:44  来源:igfitidea点击:

Import Oracle .dmp file using SQL Developer

oracleoracle-sqldeveloper

提问by Lin Ma

I want to import a .dmpfile exported from another database, and I was wondering if anyone have experience on using GUI import option for .dmpfile from SQL Developer? I have searched a lot of documents, but I couldn't find any detail. I can use SYS or SYSTEM user to import.

我想导入.dmp从另一个数据库导出的文件,我想知道是否有人有使用.dmpSQL Developer 文件的GUI 导入选项的经验?我搜索了很多文件,但找不到任何详细信息。我可以使用 SYS 或 SYSTEM 用户导入。

采纳答案by are

what was this another database? was it oracle database? if yes the dmp file can be file exported by

这是另一个数据库吗?是oracle数据库吗?如果是,则 dmp 文件可以通过以下方式导出

  1. DataPump expdputil and you need import it by using impdputil
  2. the file can be exported by exputil and you can import it by imputil
  3. how to use this DataPump utils via SQL Developer UI see here
  1. DataPump expdputil,您需要使用impdputil导入它
  2. 该文件可以通过exputil导出,您可以通过imputil导入
  3. 如何通过 SQL Developer UI 使用此 DataPump 工具,请参见此处

回答by sarath

Simple and easy step

简单易行的步骤

Set Oracle Home Path in env.property

在 env.property 中设置 Oracle Home Path

ORACLE_HOME = Path

ORACLE_HOME = 路径

imp 'sys/admin AS SYSDBA' file=C:\Oracle_DB_Dump.dmp full=Y