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
)
看下表结构 插入顺序反了 记一过
明眼一看就知道时字段长度不够
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
)
看下表结构 插入顺序反了 记一过
相关文章推荐
- ORA-01438处理方法 value larger than specified precision allowed for this column
- ora-01438:value larger than specified precision allowed for this column
- ra-01438 value larger than specified precision allowed for this column
- ORA-00401: the value for parameter compatible is not supported by this release
- MySQL5中大数据错误:Packet for query is too large (****** > ******). You can change this value on the server by setting the max_allowed_packet' variable.;
- ORA-00837: Specified value of MEMORY_TARGET greater than MEMORY_MAX_TARGET
- ORA-01461: can bind a LONG value only for insert into a LONG column
- 关于出现数据库错误ORA-01461: can bind a LONG value only for insert into a LONG column
- ORA-01461: can bind a LONG value only for insert into a LONG column 解决方法
- OGG: NLS_LENGTH_SEMANTICS报错信息ora-12899 value too large for column
- ORA-12899: value too large for column "SOAU"."SJQY_QTSBSPEC"."PROPERTY_6" (actual: 566, maximum: 500
- oracle数据库 ORA-01461: can bind a LONG value only for insert into a LONG column解决方案
- 服务器的日志一直报Packet for query is too large (7632997 > 4194304). You can change this value on the server by setting the max_allowed_packet' variable.的解决方法
- Linux服务器上日志报com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1783 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.
- ORA-12899: value too large for column
- An explicit value for the identity column in table 'users' can only be specified when a column list
- ORA-00837: Specified value of MEMORY_TARGET greater than MEMORY_MAX_TARGET
- ORA-14185: incorrect physical attribute specified for this index partition
- 解决 ORA-01461: can bind a LONG value only for insert into a LONG column
- java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column