使用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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle OCP(55):SQLLDR—CTL檔案OracleSQL
- Android小知識-如何載入外部dex檔案中的類Android
- Java 匯入資料到Excel並提供檔案下載介面JavaExcel
- 載入常量-從檔案中載入
- oracle11g啟動過程中載入配置檔案Oracle
- 【python】python初學 讀取map檔案資料到excel中PythonExcel
- java URLClassLoader 載入外部jar包中的指定的類JavaJAR
- Oracle使用RMAN將普通資料檔案轉成ASMOracleASM
- Java通過Mybatis實現批量插入資料到Oracle中JavaMyBatisOracle
- 轉:使用 Tkprof 分析 ORACLE 跟蹤檔案Oracle
- 使用Spark載入資料到SQL Server列儲存表SparkSQLServer
- python資料視覺化-matplotlib入門(6)-從檔案中載入資料Python視覺化
- 清除Oracle控制檔案中的歸檔資訊v$archived_logOracleHive
- Maui 讀取外部檔案顯示到Blazor中UIBlazor
- 將Xml檔案遞迴載入到TreeView中XML遞迴View
- Java SpringBoot 載入 yml 配置檔案中字典項JavaSpring Boot
- 如何在Rust程式專案中安全地使用外部或是專案目錄下的檔案?Rust
- 【DBA】Oracle 中DBA地址的檔案號使用的是相對檔案號(RELATIVE_FNO)Oracle
- gulp-html-import,在html中引入外部html檔案HTMLImport
- Linux中如何使用Aria2下載檔案Linux
- Oracle sqlldr工具功能測試OracleSQL
- Oracle使用RMAN從Windows遷移資料到LinuxOracleWindowsLinux
- 轉載:Virtuoso中透過cdsini檔案修改初始設定
- 從CSV檔案匯入資料到Analytics Cloud裡建立模型和StoryCloud模型
- MySQL中複製資料表中的資料到新表中的操作教程MySql
- 使用vim修改linux中的檔案Linux
- react專案中使用threejs載入glb檔案ReactJS
- PHP框架中的檔案載入的實現(自動載入/PSR規範/名稱空間)PHP框架
- Oracle OCP(56):SQLLDR-樣例OracleSQL
- springboot 中檔案的上傳和下載Spring Boot
- 如何將外部資料庫 匯入到系統的SQL中資料庫SQL
- PHP:檔案載入PHP
- 專案中的 Git 使用規範 [轉]Git
- 使用shell指令碼替換csv檔案中的資料指令碼
- 將DBF檔案(dBase, FoxPro等)中的資料轉換到SQLiteSQLite
- KunlunDB 快速入門 4.0(從Oracle實時同步資料到kunlunDB)Oracle
- python——將excel檔案寫入mysql資料庫中PythonExcelMySql資料庫
- 忽略特殊檔案(轉載)
- qqmail的檔案中轉站可真好用啊AI