1.oracle資料庫匯入匯出
1.1資料匯出
1.1.1測試連線是否暢通
tnsping 192.168.1.202
1.1.2 檢視遠端伺服器版本,不一致則不能匯出
sqlplus uwp_cfgh_root/123456@192.168.1.202:1521/fdms2
1.1.3匯出
exp
uwp_cfgh_root/123456@192.168.1.202:1521/fdms2
file=d:\20180319.dmp full=y
1.2資料匯入
1.2.1指定位置建立表空間
create tablespace fdms datafile 'e:\oracle\tablespace\news_data.dbf' size 500m autoextend on next100m maxsize unlimited;
1.2.2建立新使用者
create useruwp_cfgh_root identified by 123456 default tablespace fdms;
1.2.3給使用者許可權
grant connect,resource,dba to uwp_cfgh_root;
1.2.4匯入資料
開啟cmd
imp uwp_cfgh_root/123456@orcl file=d:20180108.dmp fromuser=uwp_cfgh_root totouser=uwp_cfgh_root
1.3連線本地資料庫
1.3.1 cmd 輸入sqlplus/nolog
1.3.2 conn username/password@orcl登陸
conn / as syddba;登陸超管
conn username/password@ip:1521/orcl登陸遠端
Oracle 資料庫 匯入匯出
匯入匯出時要,通過 執行 進行到oracle的安裝目錄的 bin 目錄下導 例如 d oracle product 10.1.0 db 1 bin 匯出分三種 匯出 表 方案 資料庫 1.1.1 匯出自己的表 說明 使用者 密碼 資料庫例項 表名 可多個 檔案路徑 exp userid scott ...
oracle資料庫匯入匯出
用工具匯入 匯出 資料 工具 t 匯出表 x 工具 t 匯出表 x 所選執行檔案位置 e oracle product 10.2.0 db 1 bin imp.exe exp.exe 命令匯入匯出 oracle匯入dmp檔案命令 1 dmp檔案中的資料匯入資料庫 1.首先進入cmd命令視窗 2.執行...
Oracle資料庫匯入匯出
我們經常會在資料備份或環境移至的時候用到oracle的匯入匯出 下面我們來詳細看一下匯入匯出的步驟 1.命令列下匯出dmp檔案 資料匯出,可以帶版本 expdp bp oracle bp oracle orcl directory dump dir dumpfile bp oracle.dmp ve...