Excel資料匯入到oracle資料庫

2021-07-02 14:36:30 字數 359 閱讀 6729

1、將excel檔案儲存為*.csv格式。

2、新建乙個*.ctl檔案,**如下:

load data

infile 'd:\*.csv'

trailing nullcols(id,name,***,age)

3、開啟執行,輸入cmd,開啟命令提示符,輸入命令:

sqlldr userid=system/test@netservicename control=d:\*.ctl

說明:system/test,為oracle資料庫表student的所有者及其密碼;

@  netservicename為網路服務名;

control是*.ctl檔名稱及路徑



Excel資料匯入到Grid

方法一 string strcon provider microsoft.jet.oledb.4.0 data source strsource extended properties excel 8.0 string query select from sheet1 sheet1表示表 oledb...

Excel資料匯入到Access

下面是asp的全部程式,需要做的是建乙個test.mdb資料庫和乙個test.xls的excel 查詢excel準備匯入到access sql select from sheet1 要匯入的excel資料裡面的表的名稱,後面一定要加 set rs conn2.execute sql while no...

Excel資料匯入到oracle

excel資料匯入到oracle 第一步 將要匯入的excel檔案開啟,選擇 另存為 在檔案型別那裡選擇 文字.txt 後確定儲存 第二步 開啟記事本,編寫下列的內容 注釋 1 控制檔案標識 2 剛才由excel檔案轉化過來的檔案的路徑 3 向oracle的資料表t network agent ba...