sqlldr

1、控制文件:

load data
infile ‘data.txt‘
append into table CustBasicInfo
Fields terminated by ‘,‘
(
CustId "‘ZJYDTZ‘||:CustId",
CustTel,
field1 Filler,
field2 Filler,
County,
CustLevel,
Telmanager,
CompanyCode Constant ‘TZYD‘,
ServiceTypeTel Constant ‘1‘,
Status Constant ‘1‘,
RecvSms Constant ‘0‘,
Memo Constant ‘20141223‘
)

2、调用文件:

sqlldr telmanager/[email protected] control=data.ctl

3、数据文件:

7613060497,183,7613060497,576,5767,14,tzll

 

参考:


7612584697,182,7612584697,576,5766,14,tzll

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。