Oracle - 從dmp檔中匯入某個Table至Server範例
有時候不小心把線上資料庫的某個Table刪除,這時除了從備援機把資料匯入線上區,另外也可以透過每天備份的dmp檔將單一Table匯入資料庫當中,其範例如下...
imp system/xxxxxx@Tmp1 file=W:\CURRENT\Tmp.dmp TABLES=(AA_table_name)
fromuser=AA_username touser=BB_username log=Z:\Tmp_i.log statistics=none ignore=Y
xxxxxx : 代表密碼
Tmp1 : 代表主機名稱
file=W:\CURRENT\Tmp.dmp : dmp放置的位置
AA_table_name : 哪個Table
AA_username : 從哪個User
BB_username : 到哪個User
Z:\Tmp_i.log statistics=none ignore=Y : 執行log放置位置
2 意見:
太厲害了...
大大可以交我ㄇ?....
To jayjay大~溼:你少來了你明明就是這方面的專業,你是故意來虧我的吧XD
張貼意見