boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - 【急!!!】t-sql EXP()函数溢出一问
相关主题
Arithmetic overflow error converting expression to data type float
primary key?
another question--怎么delete a row from a table
如何用SQL语句判断一个TABLE是否存在?
How to insert image to DB2 ?
MS SQL Server 2k question
如何only update the first occurrence in a table
求助:sql server 2000, 这句话怎么写?
[转载] what's wrong with this PL/SQL
jdbc to db2 on linux问题
相关话题的讨论汇总
话题: exp话题: float话题: 溢出话题: column话题: 一问
进入Database版参与讨论
1 (共1页)
j*********0
发帖数: 28
1
有一个column名为A, numeric(38,24)
select exp(A)/(1+exp(A)) from table tablename
出现如下错误:
Arithmetic overflow error converting expression to data type float.
将exp(A)换成exp(cast(A as float))还是出现该错误。
GOOGLE了半天也没找到答案。
盼高手解答。
谢谢
p*********d
发帖数: 136
2
What are the A values? Are some values of the A column too big?
j*********0
发帖数: 28
3
A的最小值为-3.283727163646...最大值为42134523.43221234445
确实很大。有什么办法能解决这个问题呢?

【在 p*********d 的大作中提到】
: What are the A values? Are some values of the A column too big?
a9
发帖数: 21638
4
有null?

【在 j*********0 的大作中提到】
: 有一个column名为A, numeric(38,24)
: select exp(A)/(1+exp(A)) from table tablename
: 出现如下错误:
: Arithmetic overflow error converting expression to data type float.
: 将exp(A)换成exp(cast(A as float))还是出现该错误。
: GOOGLE了半天也没找到答案。
: 盼高手解答。
: 谢谢

1 (共1页)
进入Database版参与讨论
相关主题
jdbc to db2 on linux问题
How to load data into Mysql from txt file?
the most stupid question
请教如何用alter table 来加一个not null的列
sql server 2k DTS 问题 请教
How to find primary key
How to delete column and row in table
sql question?
Access中如何update 100个fields让他们都乘以25%?
请教一个JDBC的问题 getTableName()
相关话题的讨论汇总
话题: exp话题: float话题: 溢出话题: column话题: 一问