sqlldr長資料匯入失敗

2021-08-30 15:27:05 字數 582 閱讀 5573

用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 ',',

*** terminated by ',',

age terminated by ',',

year terminated by ',',

project terminated by ',',

resault char(500) terminated by ','

)

sqlldr匯入資料

先編寫乙個控制檔案control1.ctl 內容如下 load data infile place.csv fields terminated by phone,place 解釋如下 第一行表示載入資料 第二行表示載入的資料名稱為place.csv檔案 第三行表示加入到表kel.place中 第四行...

sqlldr匯入資料

先編寫乙個控制檔案control1.ctl 內容如下 load data infile place.csv fields terminated by phone,place 解釋如下 第一行表示載入資料 第二行表示載入的資料名稱為place.csv檔案 第三行表示加入到表kel.place中 第四行...

使用SQLLDR匯入資料

這篇筆記是學習 三思筆記之一步一步學oracle 時做的例子,只是看書,不自己動作做一下,覺得很簡單,但是實際操作一下問題就多多了,先說一下我使用的環境,使用的作業系統是winxp,oracle10.2安裝在vm下的rhe5中,由於winxp和linux換行符的不同,讓我鬱悶了一晚上,第二天早上起來...