Oracle sqlldr data import error Field in data file exceeds maximum length

Source: Internet
Author: User

Oracle sqlldr data import error Field in data file exceeds maximum length solves the problem of Field in data file exceeds maximum length error when using oracle sqlldr for data import: www.2cto.com indicates that the data field is indeed longer than the database field. In this case, you need to adjust the length of the database field, or reduce the length of the field. The second is because of the problem of the fields to be imported into the database (Chinese). This problem is solved by adding the character type representation in the control file. For example, the red part of the Java code www.2cto.com is the part where the Field in data file exceeds maximum lengt error is reported in the database. Add char (n) according to the actual length of the Field ), for example, fields such as COMPLAINT_CONTENT, handle_advice, and backfeed_advice (char rather than varchar2) are specified according to the actual length, and the data can be imported to the database normally.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.