Ora-01438:value larger than specified precision for this column

Source: Internet
Author: User

Ora-01438:value larger than specified precision for this column

When the eye is clear, the field length is not enough.

INSERT INTO OSS_ADDR_MON_STATS_TMP06
Select/*+use_hash (a,c) * *
Provcode,
AreaCode,
Count (A.serialid) as Self_group_serial_num--count the number of contacts in the custom group tmp06
From OSS_ADDR_MON_STATS_TMP05 A
INNER JOIN oss_addr_mon_stats_tmp04 C on A.usernumber=c.usernumber and A.groupid=c.groupid
Group BY Provcode,areacode;

Run this statement from the production library, the result is no data too long ah,

and copy the results to the corresponding table in the development library, and the insertion is normal.

--Create table
CREATE TABLE Oss_addr_mon_stats_tmp06
(
Self_group_serial_num number (a) default 0,
Provcode Number (5) is not NULL,
AreaCode Number (5) NOT NULL
)

Look at the following table structure Insertion order reversed.

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.