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

如题所述

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 行
成功终止导出, 没有出现警告。
温馨提示:答案为网友推荐,仅供参考