Oracle——導(dǎo)入/導(dǎo)出數(shù)據(jù):exp,imp命令

exp,imp 命令是需要在windows  的 cmd  命令中執(zhí)行的命令,主要用于數(shù)據(jù)的導(dǎo)入和導(dǎo)出工作,方便高效。

創(chuàng)新互聯(lián)是專業(yè)的達(dá)拉特網(wǎng)站建設(shè)公司,達(dá)拉特接單;提供網(wǎng)站建設(shè)、網(wǎng)站設(shè)計(jì),網(wǎng)頁設(shè)計(jì),網(wǎng)站設(shè)計(jì),建網(wǎng)站,PHP網(wǎng)站建設(shè)等專業(yè)做網(wǎng)站服務(wù);采用PHP框架,可快速的進(jìn)行達(dá)拉特網(wǎng)站開發(fā)網(wǎng)頁制作和功能擴(kuò)展;專業(yè)做搜索引擎喜愛的網(wǎng)站,專業(yè)的做網(wǎng)站團(tuán)隊(duì),希望更多企業(yè)前來合作!

遠(yuǎn)程地址——  @ip:port/orcl   注:該遠(yuǎn)程地址不寫,就意味著執(zhí)行本地的庫。


Oracle的數(shù)據(jù)導(dǎo)出

(1)導(dǎo)出數(shù)據(jù)的提示模式:

exp  jl_bhps/abc123@192.168.1.106:1521/orcl

(2)表方式:將指定表的數(shù)據(jù)導(dǎo)出。

exp  jl_bhps/abc123@192.168.1.106:1521/orcl  file=d:temp/1.dmp  log=d:temp/1.log tables=emp,dept 

(3)用戶方式:將指定用戶的所有對象及數(shù)據(jù)導(dǎo)出。

exp  jl_bhps/abc123@192.168.1.106:1521/orcl  file=d:temp/1.dmp  log=d:temp/1.log   

(4)全庫方式:將數(shù)據(jù)中所有的對象導(dǎo)出/導(dǎo)入 (使用管理員賬號(hào)登錄)

exp system/abc123@192.168.1.106:1521/orcl  file=d:temp/1.dmp  log=d:temp/1.log   full=y 




Oracle的數(shù)據(jù)導(dǎo)入

(1)導(dǎo)入數(shù)據(jù)的提示模式:

imp  jl_bhps/abc123@192.168.1.106:1521/orcl

(2)導(dǎo)入一張表或幾張表。

imp  jl_bhps/abc123@192.168.1.106:1521/orcl  file=d:temp/1.dmp  log=d:temp/1.log tables=emp,dept fromuser=scott   touser=jl_bhps  commit=y   ignore=y  

(3)導(dǎo)入用戶下的表

imp  jl_bhps/abc123@192.168.1.106:1521/orcl  file=d:temp/1.dmp  log=d:temp/1.log   fromuser=scott   touser=jl_bhps  commit=y   ignore=y  

(4)導(dǎo)入數(shù)據(jù)庫

imp system/abc123@192.168.1.106:1521/orcl  file=d:temp/1.dmp  log=d:temp/1.log   full=y  ignore=y   destroy=y ;  



分享標(biāo)題:Oracle——導(dǎo)入/導(dǎo)出數(shù)據(jù):exp,imp命令
標(biāo)題URL:http://muchs.cn/article40/pphdho.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供移動(dòng)網(wǎng)站建設(shè)微信公眾號(hào)、網(wǎng)站營銷、網(wǎng)站制作、Google、虛擬主機(jī)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

搜索引擎優(yōu)化