具体步骤:
1.将.xls文件另存为-制表符分隔-的xx.txt文件,在c:\;
2.在数据库中建立相应的表yy;
3.在c:\下建立input.ctl文件,如下:
load data
infile 'xx.txt'
append into table yy
field terminated by x'09'
(yy.col1,yy.col2,....)
4.在dos中
c:\sqlldr userid/password@instance control = input.ctl;
这样就可以将数据导入了。
sqlldr zlol/zloladmin8988@203.190.96.150ORA920 control = input.ctl
load data
infile 'xx.txt'
append into table tmp_sdwy_20061117
fields terminated by ' '
(grade,procec,chenchi,center_study,snum,sname)
浙公网安备 33010602011771号