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' )linux


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

相關文章
相關標籤/搜索