使用sqlldr載入外部檔案中的資料到Oracle中(轉)
使用sqlldr載入外部檔案中的資料到Oracle中(轉)[@more@]C:Documents and Settings wang>sqlldr userid=scott/tiger@dbdev01 control=c: est.ctl log=c: est.log
SQL*Loader: Release 9.2.0.1.0 - Production on 星期二 3月 7 13:31:39 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
達到提交點,邏輯記錄計數64
達到提交點,邏輯記錄計數81
C:Documents and Settings wang>
控制檔案:
load data
infile 'c:lot.csv'
badfile 'c:ad.txt'
discardfile 'c:discardfile.txt'
append
into table apm_lot_merge
fields terminated by ',' optionally enclosed by '"'
(
LOT_NO,
MERGE_SEQ,
MERGE_DATE,
MERGE_LOT_NO,
MERGE_LOT_QTY
)
lot.csv檔案是逗號分隔的csv檔案
SQL*Loader: Release 9.2.0.1.0 - Production on 星期二 3月 7 13:31:39 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
達到提交點,邏輯記錄計數64
達到提交點,邏輯記錄計數81
C:Documents and Settings wang>
控制檔案:
load data
infile 'c:lot.csv'
badfile 'c:ad.txt'
discardfile 'c:discardfile.txt'
append
into table apm_lot_merge
fields terminated by ',' optionally enclosed by '"'
(
LOT_NO,
MERGE_SEQ,
MERGE_DATE,
MERGE_LOT_NO,
MERGE_LOT_QTY
)
lot.csv檔案是逗號分隔的csv檔案
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10617731/viewspace-961665/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 使用sqlldr匯入文字資料到oracleSQLOracle
- oracle匯出資料到檔案中的方法 -- 轉自網路Oracle
- 採用importtsv匯入外部資料到hbase中ImportTTS
- Oracle lob載入bfile資料到blob欄位中Oracle
- Oracle工具之sqlldr的使用--如何將文字檔案或Excel中的資料匯入資料庫OracleSQLExcel資料庫
- 使用外部表關聯MySQL資料到OracleMySqlOracle
- Android小知識-如何載入外部dex檔案中的類Android
- 【Mysql】匯出資料到excel檔案中MySqlExcel
- 文字檔案用sqlldr工具匯入到oracel資料庫中SQL資料庫
- oracle sqlldr 與 外部表OracleSQL
- 文字檔案的資料裝載工具sqlldrSQL
- 轉載-找出Oracle alert檔案中的ORA錯誤Oracle
- 如何從網頁中匯入外部資料到Excel2003網頁Excel
- Java 匯入資料到Excel並提供檔案下載介面JavaExcel
- maven工程載入外部jar檔案的方法MavenJAR
- 【sqlldr載入資料】SQL
- 載入JPGE圖象檔案到DirectDraw的表面中(轉)
- sqlldr配合shell解決sqlldr 控制檔案中引入變數的方案SQL變數
- 採用sqlldr定時將文字檔案載入進入資料庫SQL資料庫
- ORACLE 的載入工具SQLLDR應用OracleSQL
- 使用oracle sqlldr匯入文字資料的例子OracleSQL
- Android從外部儲存裝置中儲存和載入本地檔案Android
- oracle sqlldr控制檔案模板OracleSQL
- 把vfp表中的資料匯入指定的excel檔案中 (轉)Excel
- 用Oracle sqlldr匯入文字檔案TXT 總結OracleSQL
- DLL檔案中Form的使用 (轉)ORM
- 在ORACLE中移動資料庫檔案(轉)Oracle資料庫
- 載入Java專案中scr下的properties檔案Java
- Oracle OCP(55):SQLLDR—CTL檔案OracleSQL
- VC從檔案中載入圖片
- 把csv檔案的資料匯入到oracle資料庫中Oracle資料庫
- spring boot啟動載入外部配置檔案Spring Boot
- js動態載入外部css檔案程式碼JSCSS
- 測試TOM=SQLLDR使用函式載入資料SQL函式
- 在ORACLE中移動資料庫檔案在(轉)Oracle資料庫
- oracle 載入文字檔案Oracle
- oracle資料庫使用sqlldr命令匯入txt資料Oracle資料庫SQL
- 資料倉儲中從mysql導資料到oracleMySqlOracle