oracle的exp、imp命令

时间:2014-05-07 13:53:41   收藏:0   阅读:392

1、EXP

  

bubuko.com,布布扣
 1    a>完全模式 full=y
 2 
 3    EXP USER/PASSWORD@DB (AS ROLE) BUFFER=64000 FILE=C:\FULL.DMP FULL=Y
 4 
 5   b>用户模式 owner=user
 6 
 7   EXP USER/PASSWORD@DB BUFFER=64000 FILE=C:\USER.DMP OWNER=USER
 8 
 9   c>表模式 tables=tab_*
10 
11   EXP USER/PASSWORD@DB BUFFER=64000 FILE=C:\TAB_*.DMP TABLES=(TAB_1, TAB_2)
12 
13    对tab_1导出加条件
14 
15   EXP USER/PASSWORD@DB BUFFER=64000 FILE=C:\TAB_*.DMP TABLES=(TAB_1)  QUERY=\"WHERE NAME LIKE ‘JION%‘\"
bubuko.com,布布扣

 

2、IMP

  

bubuko.com,布布扣
 1    a>完全模式 full=y
 2 
 3       IMP USER/PASSWORD@DB (AS ROLE) BUFFER=64000 FILE=C:\FULL.DMP FULL=Y
 4 
 5   b>用户模式 owner=user
 6 
 7   IMP USER/PASSWORD@DB BUFFER=64000 FILE=C:\USER.DMP OWNER=USER
 8 
 9   c>表模式 tables=tab_*
10 
11   IMP USER/PASSWORD@DB BUFFER=64000 FILE=C:\TAB_*.DMP TABLES=(TAB_1, TAB_2)
bubuko.com,布布扣

 

oracle的exp、imp命令,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!