Oracle匯入dmp遇到問題解決

來源:互聯網
上載者:User

一、 首先要明白,Oracle匯入匯出dmp檔案是通過cmd命令執行的,而不是通過SQL plus執行的.

此外也可以藉助PLSQLDev工具進行匯入匯出

記得“匯出可執行檔”選擇用戶端安裝好的bin下的exp.exe工具

二、發現在匯出的過程有問題:

網上查詢原因是說資料庫oracle服務端與用戶端版本存在問題,要換一個oracle用戶端與服務端一致的版本就可以進行dmp檔案的匯出

三、如果手上沒有相應的用戶端版本,我們為何不直接連上伺服器直接用cmd命名匯出匯入呢,呵呵。

1、匯入命令:

imp userId/psw@orcl full=y  file=D:\data\T_DAYLOG_CALLANALYSIS.dmp ignore=y

2、匯出命令

exp userId/psw@orcl file=d:\dkj\test.dmp tables=(wf_test)

四、如何查看dmp檔案是從什麼版本的資料庫匯出的?

用ultraEdit開啟dmp檔案,可以看到最上面一行有版本號碼的標識

可以看到是11g的資料庫

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.