在oracle中怎麼匯入dmp檔案
- 2022-12-23
Oracle中匯入dmp檔案的步驟如下:
1 將D:\daochu。dmp 中的資料匯入 TEST資料庫中。
imp system/manager@TEST file=d:\daochu。dmp
imp aichannel/aichannel@HUST full=y file=file= d:\data\newsmgnt。dmp ignore=y
2 將d:\daochu。dmp中的表table1 匯入:
imp system/manager@TEST file=d:\daochu。dmp tables=(table1)
基本上上面的匯入匯出夠用了。不少情況要先是將表徹底刪除,然後匯入。
注意:操作者要有足夠的許可權,許可權不夠它會提示。資料庫時可以連上的。可以用tnsping TEST 來獲得資料庫TEST能否連上。