1. 程式人生 > >sqlldr長資料匯入失敗

sqlldr長資料匯入失敗

用sqlldr匯入資料時總是會有一個.bad檔案,發現有一列資料極長,稍統計有160多個字,把列表增加到4000位元組仍不行,遍求原因不得,部門大佬一句點破,“sqlldr有欄位限制,搜一下就行”

網上有說265位元組限制還有255位元組,總的來說不過三百,我的那部分資料肯定不行的。

貼一下我的程式碼:

OPTIONS (skip=1,rows=10000)
load data
infile 'F:\#Beta\practice-04\p04.csv'
truncate
into table headata
trailing nullcols
(
pid terminated by ',',
pname terminated by ',',
sex terminated by ',',
age terminated by ',',
year terminated by ',',
project terminated by ',',
resault char(500) terminated by ',' 
)