oracle导入导出数据

来源:互联网 发布:淘宝加入购物车看不到 编辑:程序博客网 时间:2024/04/25 19:06
导出test数据库
exp username/password@test file=e:\test.dmp full=y


导出test数据库表
exp username/password@test file=e:\test.dmp tables=table1,table2 


按条件导出表数据
exp username/password@test file=d:\daochu.dmp tables=(table1) query=\" where filed1 like  '00%'\"


将D:\daochu.dmp 中的数据导入 TEST数据库中
 imp system/manager@TEST  file=d:\daochu.dmp


将d:\daochu.dmp中的表table1 导入
 imp system/manager@TEST  file=d:\daochu.dmp  tables=(table1) 
原创粉丝点击