贫民窟里的程序高手

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

用root账号登录Linux

登录oracle用户

su - oracle

数据导出:
 1 将数据库TEST完全导出,用户名system 密码manager, 实例名TEST  导出到D:\daochu.dmp中
   exp system/manager@TEST file=/data/daochu.dmp full=y
 2 将数据库中system用户与sys用户的表导出
   exp system/manager@TEST file=/data/daochu.dmp owner=(system,sys)
 3 将数据库中的表table1 、table2导出
   exp system/manager@TEST file=/data/daochu.dmp tables=(table1,table2) 
 4 将数据库中的表table1中的字段filed1以"00"打头的数据导出
   exp system/manager@TEST file=/data/daochu.dmp tables=(table1) query=\" where filed1 like '00%'\"

posted on 2020-03-16 20:26  贫民窟里的程序高手  阅读(608)  评论(0)    收藏  举报