美文网首页
Oracle 导出导入命令

Oracle 导出导入命令

作者: yycgis | 来源:发表于2017-09-16 00:22 被阅读0次

导出命令格式如下:
切换为oracle用户
exp user/pwd@SID file=path/sth.dmp
其中:user/pwd是你要导出的表空间的oracle用户的用户名与密码;SID为oracle启动实例,一般为orcl。path是你导出的路径;请注意最后面的sth.dmp不能少。

导入dmp文件-在oracle用户下:两种方法
[oracle@system ~] imp user/passwd fileName=filePath full=y(full 不能少)
或者
[oracle@system ~] imp AUser/APwd@orcl file=filePath/cbank.dmp fromuser=B touser=A

先保存下来,留作后用。

相关文章

网友评论

      本文标题:Oracle 导出导入命令

      本文链接:https://www.haomeiwen.com/subject/phxysxtx.html