IMP EXP常用引數,實用例子

2021-05-24 12:55:53 字數 998 閱讀 1743

imp匯入實用例子

1. 獲取幫助 imp help=y

2. 匯入乙個完整資料庫 imp system/manager file=bible_db log=dible_db full=y ignore=y

3. 匯入乙個或一組指定使用者所屬的全部表、索引和其他物件 imp system/manager file=seapark log=seapark fromuser=seapark imp system/manager file=seapark log=seapark fromuser=(seapark,amy,amyc,harold)

4. 將乙個使用者所屬的資料匯入另乙個使用者 imp system/manager file=tank log=tank fromuser=seapark touser=seapark_copy imp system/manager file=tank log=tank fromuser=(seapark,amy) touser=(seapark1, amy1)

5. 匯入乙個表 imp system/manager file=tank log=tank fromuser=seapark tables=(a,b)

6. 從多個檔案匯入 imp system/manager file=(paycheck_1,paycheck_2,paycheck_3,paycheck_4) log=paycheck, filesize=1g full=y

7. 使用引數檔案 imp system/manager parfile=bible_tables.par bible_tables.par引數檔案: #import the sample tables used for the oracle8i database administrator's bible. fromuser=seapark touser=seapark_copy file=seapark log=seapark_import

8. 增量匯入 imp system./manager inctype= rectore full=y file=a

oracle 匯入匯出實用程式(imp exp)

匯入匯出實用程式用於實施資料庫的邏輯備份和恢復 匯出實用將資料庫中的物件定義和資料備份到乙個作業系統二進位制檔案中 匯入使用程式讀取二進位制導出檔案並將物件和資料載入資料庫中 匯出額匯入實用程式的特點有 1.可以按時間儲存表結構和資料 2.允許匯出指定的表,並重新匯入到新的資料庫中 3.可以吧資料庫...

SQL Server 2005 實用例子

獲取最後插入的一條記錄 scope indentity scope indentity 返回插入到同一作用域中 儲存過程,的indentity列內的最後乙個indentity值 declare dttable id intidentity 1 1 name char 10 insert into d...

sed例子用法引數 shell指令碼裡常用舉例

一,用法 sed 選項 功能 檔名 路徑 選項 e 多項編輯,在使用多個sed命令時使用 n取消預設的輸出,使用安靜 silent 模式。在一般 sed 的用法中,所有來自stdin的資料一般都會被列出到螢幕上。但如果加上 n 引數後,則只有經過sed 特殊處理的那一行 或者動作 才會被列出來 f指...