sqlldr上传oracle

时间:2020-07-21 21:51:23   收藏:0   阅读:75

options (rows=10000,direct=true,skip=0,errors=10000)
load data
infile ‘文件名‘
truncate into table 表名
fields terminated by ‘,‘
optionally enclosed by ‘"‘
trailing nullcols
(
字段


)

 

 

关于日期格式

date类型
"to_date(:列名,‘yyyy-mm-dd hh24:mi:ss‘)"
timestamp类型
timestamp "yyyy-mm-dd hh24:mi:ss"

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!