When the actual oracle value exceeds the specified length of a database field, an error is reported. oracle Length

Source: Internet
Author: User

When the actual oracle value exceeds the specified length of a database field, an error is reported. oracle Length

ORA-01438: value larger than specified precision allowed for this column

The length of the actual value is greater than the maximum length allowed by a field in the database.

A common scenario is the automatic growth of oracle sequence. When the system uses it, the sequence value keeps increasing and the system starts to report an error.

Solution: Change the field length.


There is a large amount of data to be imported into the oracle database, but the length of a field in the data is too long to be imported. What should I do? Is there any good solution?

Oralce a table has a field length addition cannot exceed a certain value. If it is not enough, use text, or create several other tables for separate storage.

Oracle queries a field where the value length is not greater than 100, but the null record is gone.

Length (nvl (note, '') <100

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.