oracle 如何 導表

2021-08-03 01:54:17 字數 667 閱讀 8490

兩種方式 ,第一種方便 ,第一種執行匯入沒有反應的話 可以用第二種。

1.方法一:

利用pl/sql developer工具匯出:

選單欄---->

1,開啟「開始」-->輸入cmd—>

2,將d:\daochu.dmp 中的資料匯入 test資料庫中。在此之前,要明確,使用者名稱(此例:system)密碼(manager) 例項名(test) 還有檔案位址 (file=d:\daochu.dmp)如果不一樣需要改哦,這裡只是給乙個格式。localhost是主機位址,如果不是本機,也需要改哦

imp system/manager@localhost/test  file=『d:\daochu.dmp』  full=y ignore=y 就可以了。

full=y,這個貌似是全部

ignore=y,忽略一些錯誤

(imp

xthbdc/

xthbdc@localhost/orcl_gbk  file=『c:\users\administrator\desktop\xthbdc_20151123.dmp』  full=y ignore=y)

oracle導表的方式

使用exp格式匯出資料的前提是本地安裝orcl資料庫 1.以下命令為exp匯出的最方便快捷的乙個命令 exp eomsfault eomsfault 1521 orcl owner zm file h work sqlbak 96.dmp2.匯入命令為imp imp eomsfault eomsfa...

mysql最快導表 如何更快導資料

假如mongodb有 50萬資料,而且每條資料量還挺大,需要導到表裡面.插入多的情況,可以把錶的引擎修改為 myisam 多強調一句,索引一定得重視.這個時候 初始的想法,分頁查詢,一條條的寫,但是發現,查詢一批加上每條都要寫,效率好差,一天搞不完,還得加班.稍微改進一下 加上多執行緒,查詢mong...

ORACLE建立使用者,表空間,並且匯出資料,匯出表

1 建立使用者 create user toptea2 identified by 使用者名稱 2 給使用者授權 grant create session to 使用者名稱 grant create table to 使用者名稱 grant create tablespace to 使用者名稱 gr...