當前位置:成語大全網 - 書法字典 - oracle數據庫表的導出

oracle數據庫表的導出

數據導出:

1完整導出數據庫測試,並將用戶名系統密碼管理器導出到d: \ daochu.dmp。

exp system/manager @ TEST file = d:\ Dao Chu . DMP full = y

2導出數據庫中的系統用戶和系統用戶表。

exp system/manager @ TEST file = d:\ Dao Chu . DMP owner =(system,sys)

3導出數據庫中的表table1和table2。

exp system/manager @ TEST file = d:\ Dao Chu . DMP tables =(table 1,table2)

4.導出數據庫中表1的字段文件1中以“00”開頭的數據。

exp system/manager @ TEST file = d:\ Dao Chu . DMP tables =(table 1)query =“where filed 1 like‘00%‘\“

數據導入

1將D:\daochu.dmp中的數據導入測試數據庫。

imp system/manager @ TEST file = d:\ Dao Chu . DMP

上述內容可能有問題,因為壹些表已經存在,然後它報告錯誤並且不導入該表。

只需在它後面添加ignore=y。

2導入d: \ daochu.dmp中的表1。

imp system/manager @ TEST file = d:\ Dao Chu . DMP tables =(table 1)