oracle的SQL*Loader-00510錯誤

來源:互聯網
上載者:User

今天一個入庫程式報錯

SQL*Loader-00510 Physical record in data file (string) is longer than the maximum(number)

明顯是sqlloader引起的

官方文檔解釋如下

Cause: The datafile has a physical record that is too long.

更多精彩內容:http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/

Action: Use CONCATENATE or CONTINUEIF. Break up the physical records.

經測試發現,原因是由於匯入檔案中存在不同格式的斷行符號換行,

有^M$和$兩種斷行符號換行導致,所以用dos2unix命令統一轉換成Linux斷行符號換行。

dos2unix filename

問題解決。

本文出自 “richard的筆記-積微成著” 部落格,請務必保留此出處http://zxf261.blog.51cto.com/701797/725495

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.