oracle 匯入匯出命令

2022-08-15 21:18:12 字數 1343 閱讀 5239

-- 全量匯出

exp system/manager@test file=d:\daochu.dmp full=y

-- 將資料庫中system使用者與sys使用者的表匯出

exp system/manager@test file=d:\daochu.dmp owner=(system,sys)

-- 將資料庫中的表table1中的字段filed1以"00"打頭的資料匯出

exp system/manager@test file=d:\daochu.dmp tables=(table1) query=\" where filed1 like '00%'\"

-- 將資料庫中的表table1/table2匯出

exp system/manager@test file=d:\daochu.dmp tables=(table1,table2)

-- 將d:\daochu.dmp中的表table1/table2匯入

-- 如果在linux下匯入匯出,需要使用 tables="(table1,table2)",否則報錯"syntax error near unexpected token("

imp system/manager@test file=d:\daochu.dmp tables=(table1,table2)

-- 全量匯出

exp system/manager@test file=d:\daochu.dmp full=y

-- 將資料庫中system使用者與sys使用者的表匯出

exp system/manager@test file=d:\daochu.dmp owner=(system,sys)

-- 將資料庫中的表table1中的字段filed1以"00"打頭的資料匯出

exp system/manager@test file=d:\daochu.dmp tables=(table1) query=\" where filed1 like '00%'\"

-- 將資料庫中的表table1/table2匯出

exp system/manager@test file=d:\daochu.dmp tables=(table1,table2)

-- 將d:\daochu.dmp中的表table1/table2匯入

-- 如果在linux下匯入匯出,需要使用 tables="(table1,table2)",否則報錯"syntax error near unexpected token("

imp system/manager@test file=d:\daochu.dmp tables=(table1,table2)

oracle匯入匯出命令

oracle匯入匯出命令 匯出是 exp 使用者 密碼 資料庫名 file 資料檔案路徑 log 日誌檔案路徑 匯入是 imp 使用者 密碼 資料庫名 file 資料檔案路徑 full y 注意 為了完整匯入,應將使用者許可權設為dba 資料匯出 1 將資料庫完全匯出 exp 使用者 密碼 資料庫名...

oracle匯入匯出命令

統一認證 使用資料幫浦匯入匯出 只能在oracle的本地進行,如果是伺服器需遠端 前提條件 為匯入匯出設定儲存及讀取檔案路徑 在cmd命令視窗執行 1 連線資料庫 cmd sqlplus system oracle projm as sysdba 2 建立directory dir dp 存放 匯出...

oracle匯入匯出命令

exp upms upms 192.168.0.148 1521 orcl file d upms.log full y oracle11g匯入匯出命令 備註 1 oracle刪除使用者時提示使用者處於連線狀態,無法刪除 進入cmd命令,連線到oracle例項。輸入drop user sxk cas...