您的位置:首页 > 产品设计 > UI/UE

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

2012-04-26 15:52 621 查看
ORA-01438: value larger than specified precision allowed for this column
明眼一看就知道时字段长度不够

insert into oss_addr_mon_stats_tmp06
select /*+use_hash(a,c)*/
provcode,
areacode,
count(a.serialid) as self_group_serial_num --统计自定义分组的联系人人数 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;
从生产库里跑这个语句,从结果上看没有数据太长啊,
并把结果拷到开发库里的对应表,插入也正常
-- Create table
create table OSS_ADDR_MON_STATS_TMP06
(
SELF_GROUP_SERIAL_NUM NUMBER(10) default 0,
PROVCODE NUMBER(5) not null,
AREACODE NUMBER(5) not null
)
看下表结构 插入顺序反了 记一过
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐