大龙的博客

常用链接

统计

最新评论

oracle利用 sqlldr 导入文本数据

1.input.ctl

load data
infile 'test.txt'
append into table temp_log
fields terminated by ','
(a, b)

2.test.txt
a,b
123,567
890,312

3.sqlldr userid=用户名/密码 control=input.ctl

posted on 2011-07-12 00:18 大龙 阅读(218) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理