Oracle Sql Loader 的使用关于Windows 上回车换行符的问题 最后一个字段使用 terminated by '\r'

OPTIONS(errors=1,readsize=1048576,bindsize=1048576)
--only effect when direct=true no redolog
unrecoverable
load data
CHARACTERSET ZHS16GBK
infile 'filename.txt'
APPEND
into table t_tablename
--fields terminated by ','
--if no col found,use null defaule
--TRAILING NULLCOLS
(field1 terminated by ',',
field2 terminated by '\r' )


--cmd
--login linux with oracle/oracle
--sqlldr userid=useraccount/password control=ctrlfilename.ctl direct=true parallel=true readsize=20000000 bindsize=20000000

posted @ 2015-05-26 11:30  TianChangjun  阅读(2524)  评论(0编辑  收藏  举报