怎样将oracle中某一张表的数据导出为dmp文件???

pll0212 2011-02-14 09:52:12
我想要很详细的步骤
...全文
7880 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
njlywy 2011-02-15
  • 打赏
  • 举报
回复
exp user/password@sid file=x:\\xxx.dmp tables=tablename
DYFDWX 2011-02-15
  • 打赏
  • 举报
回复
顶上面的,够详细了
smzen 2011-02-14
  • 打赏
  • 举报
回复
exp user/password@orcl file=c:\\exp.dmp tables=tab
皓月如我 2011-02-14
  • 打赏
  • 举报
回复
三楼说的很详细了,在Windows下直接在dos终端输入命令,unix下直接在shell终端输入命令,注意OS中的ORACLE_HOME环境变量要先设置好。
  • 打赏
  • 举报
回复
exp 是dos命令 不需要打开sqlplus
exp username/password file=你文件的存放路径 tables=你要导出的表名
具体操作如下:

C:\Documents and Settings\Administrator>exp scott/tiger file=d:\emp.dmp tables=e
mp

Export: Release 10.2.0.1.0 - Production on 星期一 2月 14 10:42:26 2011

Copyright (c) 1982, 2005, Oracle. All rights reserved.


连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集

即将导出指定的表通过常规路径...
. . 正在导出表 EMP 导出了 14 行
成功终止导出, 没有出现警告。

C:\Documents and Settings\Administrator>
tiger1987 2011-02-14
  • 打赏
  • 举报
回复
我一般都用dos命令导出的,比较方便快捷。具体步骤如下:
在cmd窗口输入 exp user/password@orcl file=E:\\backup.dmp tables=bd_corp 即可,其中user表示用户名password 表示密码,orcl表示oracle服务名, tables参数表示需要导出的表名可以接多个表,需用逗号分隔。
minitoy 2011-02-14
  • 打赏
  • 举报
回复
用plsql developer的export table.
或者使用exp,在cmd窗口输入exp,然后按照提示操作就可以了.提示都很明确,即使是初次使用也问题不大.
导出后可以用文本文件打开查看下.

17,086

社区成员

发帖
与我相关
我的任务
社区描述
Oracle开发相关技术讨论
社区管理员
  • 开发
  • Lucifer三思而后行
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧