oracle導入導出 dmp文件


oracle導入導出 dmp文件:

打開cmd窗口,在cmd窗口下,按照個人需要輸入以下對應的命令:

1、imp 用戶名/密碼@網絡服務名 file=XXX.dmp fromuser=XXX touser=XXX;//導入dmp文件

2、imp 用戶名/密碼@網絡服務名 file=xxx.dmp full=y;//導入dmp文件

3、imp aichannel/aichannel@HUST full=y file= d:\data\newsmgnt.dmp ignore=y;//跳過建表語句

4、exp system/manager@TEST file=d:\daochu.dmp full=y;//導出整個數據庫

5、exp system/manager@TEST file=d:\daochu.dmp owner=(system,sys)//導出指定用戶的數據

6、exp system/manager@myoracle file=d:\daochu.dmp tables=(table1) igonre = y;//導出指定表(igonre可有可無)

7、exp aichannel/aichannel@TESTDB2 file= d:\data\newsmgnt.dmp tables=(inner_notify,notify_staff_relat);//將數據庫中的表inner_notify、notify_staff_relat導出

8、exp 用戶名/密碼@網絡服務名 file=xxx.dmp tables=(表名);//導出 dmp文件

9、exp 用戶名/密碼@網絡服務名 file=xxx.dmp tables=(table1,table2,table3)。//導出多個 dmp文件


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM