sqlldr 是ORACLE用来往DB里导数据的实用程序
1) 控制文件 c:/cont.ctl
load data
infile 'c:loader.txt'
append
into table scott.mm(
m1 char terminated by ",",
m2 char terminated by ",")
2)内容数据文件 c:/loader.txt
abc,fdsafdsa
asd,fdlksa
fdsafdsa,sss
3)执行
C:>sqlldr scott/tiger control=c:/cont.ctl data=c:/loader.txt

SQL*Loader: Release 10.1.0.2.0 - Production on 火 2月 5 23:24:48 2008

Copyright (c) 1982, 2004, Oracle. All rights reserved.

コミット・ポイントに達しました。 - 論理レコード件数3

C:>
4) 注意,控制文件里的表和字段,应该在DB已经提前建好.
1) 控制文件 c:/cont.ctl






2)内容数据文件 c:/loader.txt
abc,fdsafdsa
asd,fdlksa
fdsafdsa,sss
3)执行









4) 注意,控制文件里的表和字段,应该在DB已经提前建好.