oracle數據庫導入導出
工具(T)—》導出表(X)
工具(T)—》導出表(X)
所選運行文件位置:
E:\oracle\product\10.2.0\db_1\bin\imp.exe(exp.exe)
*********命令導入導出
oracle導入dmp文件命令:
(1)dmp文件裏的數據導入數據庫
1.首先進入cmd命令窗體
2.運行命令:imp [email protected] file=d:\daochu.dmp full=y ignore=y
file:就是你要導入的dmp文件全路徑。
full=y 是否所有導入僅僅有當前用戶是dba的時候才幹用此選項 。
已經存在的表,導入時會報錯,對該表就不進行導入,在後面加上 ignore=y 就能夠了。
(2)將dmp中的表userTable導入
imp [email protected]
oracle導出dmp文件命令:
(1)數據所有導出
exp [email protected] file=d:\daochu.dmp full=y
(2)將表導出
exp [email protected] file=d:\daochu.dmp tables=(table1,table2)
(3)將table1表中的ID字段以"0000"開頭導出
exp [email protected] file=d:\daochu.dmp tables=(table1) query=/" where ID like ‘0000%‘/"
oracle數據庫導入導出