1、首先通過tode創(chuàng)建或者克隆新的數(shù)據(jù)庫用戶,如下圖所示。
創(chuàng)新互聯(lián)專業(yè)為企業(yè)提供河西網(wǎng)站建設、河西做網(wǎng)站、河西網(wǎng)站設計、河西網(wǎng)站制作等企業(yè)網(wǎng)站建設、網(wǎng)頁設計與制作、河西企業(yè)網(wǎng)站模板建站服務,十多年河西做網(wǎng)站經(jīng)驗,不只是建網(wǎng)站,更提供有價值的思路和整體網(wǎng)絡服務。
2、導出目標表準備好,空表無法導出表結構,然后打開運行命令,導出目標用戶test所有數(shù)據(jù)庫相關信息,如下圖所示。
3、輸入完成后,點擊鍵盤上的回車,等待一會如下圖所示。
4、最后導入目標用戶new所有數(shù)據(jù)庫相關信息,如下圖所示。
5、最后如下圖所示,就導出完成了。
1 將數(shù)據(jù)庫TEST完全導出,用戶名system 密碼manager 導出到D:\daochu.dmp中\(zhòng)x0d\x0a exp system/manager@TEST file=d:\daochu.dmp full=y\x0d\x0a2 將數(shù)據(jù)庫中system用戶與sys用戶的表導出\x0d\x0a exp system/manager@TEST file=d:\daochu.dmp owner=(system,sys)\x0d\x0a3 將數(shù)據(jù)庫中的表table1 、table2導出\x0d\x0a exp system/manager@TEST file=d:\daochu.dmp tables=(table1,table2) \x0d\x0a4 將數(shù)據(jù)庫中的表table1中的字段filed1以"00"打頭的數(shù)據(jù)導出\x0d\x0a exp system/manager@TEST file=d:\daochu.dmp tables=(table1) query=\" where filed1 like '00%'\"\x0d\x0a \x0d\x0a 上面是常用的導出,對于壓縮我不太在意,用winzip把dmp文件可以很好的壓縮。\x0d\x0a 不過在上面命令后面 加上 compress=y 就可以了
1 將數(shù)據(jù)庫TEST完全導出,用戶名system 密碼manager 導出到D:\daochu.dmp中
exp system/manager@TEST file=d:\daochu.dmp full=y
2 將數(shù)據(jù)庫中system用戶與sys用戶的表導出
exp system/manager@TEST file=d:\daochu.dmp owner=(system,sys)
3 將數(shù)據(jù)庫中的表table1 、table2導出
exp system/manager@TEST file=d:\daochu.dmp tables=(table1,table2)
4 將數(shù)據(jù)庫中的表table1中的字段filed1以"00"打頭的數(shù)據(jù)導出
exp system/manager@TEST file=d:\daochu.dmp tables=(table1) query=\" where filed1 like '00%'\"
本文標題:怎么導出oracle庫,oracle數(shù)據(jù)庫怎么導出sql文件
網(wǎng)址分享:http://www.chinadenli.net/article42/heichc.html
成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供響應式網(wǎng)站、服務器托管、做網(wǎng)站、微信公眾號、關鍵詞優(yōu)化、建站公司
聲明:本網(wǎng)站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經(jīng)允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯(lián)