丫子

导航

 

具体步骤:
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)

posted on 2011-03-29 08:51  丫子  阅读(92)  评论(0)    收藏  举报