1.txt文件
2.编写input.ctl
load data
infile '需剔除的清单.txt'
append into table dhhm_temp_20130509
fields terminated by '|' trailing nullcols
(
dhhm
)
3.bat编写
@echo off
sqlldr userid=**/***@dxqf control=input.ctl
pause
SQL*Loader批量导入数据
本文介绍了一种使用SQL*Loader工具批量导入数据到Oracle数据库的方法。具体步骤包括准备txt格式的数据文件、编写input.ctl控制文件指定加载细节以及通过bat批处理文件执行加载过程。该方法适用于大量数据的快速导入。
1.txt文件
2.编写input.ctl
load data
infile '需剔除的清单.txt'
append into table dhhm_temp_20130509
fields terminated by '|' trailing nullcols
(
dhhm
)
3.bat编写
@echo off
sqlldr userid=**/***@dxqf control=input.ctl
pause
7073
1707

被折叠的 条评论
为什么被折叠?