用delphi实现, 文本是比较规则的数据,不过数据量比较大,一般一个文件100m一条一条的取,一条一条的插入,速度实在太慢了!数据格式如下:
6031280000000057 0120 1014776739 李银森 10000.00
6031280000000081 0120 1014776722 禹志强 10000.00
6031280000001881 0120 1025218126 蔡汉扬 10000.00
6031280000000057 0120 1014776739 李银森 10000.00
6031280000000081 0120 1014776722 禹志强 10000.00
6031280000001881 0120 1025218126 蔡汉扬 10000.00
sqlldr auc/auc@auc control=c:\test文件test格式如下
load data
infile 'c:\1.06.txt'
append into table auc.bcs_BANK_account_info
fields terminated by X'09'
(agentdepartid,agentstaffid,agentaccountnumber,agent_shang_hu_hao,flag,agentname)