由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - SQL multiply all values of a column in table
相关主题
SQL find distinct values in large table (转载)keep group of values of SQL procedure in one table (转载)
SQL select one value column for each distinct value another (转载)How to write this query in Oracle?
SQL fast search in a 10 million records table (转载)matlab 问题请教:读出空白行 (转载)
请教一道面试题啊!关于SQL的!分享一些面试 笔试题
SQL combine two columns from two different tables no shared (转载)Kalman Filter的交易算法问题
count unique values in file with 1 million rows (转载)[合集] 一个题(数组编程类)
compare two large tables SQL (转载)[合集] 请教一个求PDE的数学问题
SQL add some columns into a table from another table (转载请教OAS的问题
相关话题的讨论汇总
话题: sql话题: table话题: column话题: multiply话题: values
进入Quant版参与讨论
1 (共1页)
l******9
发帖数: 579
1
I need to multiply all float values of a column in table if the column value
is positive. If I find a value is null or negative or not numeric, I raise
an error in SQL server 2008 R2.
given table t0:
col
1.5
2
given table t1:
col
2
-1
5
0
null
NaN
For t0 I should get 3, for t1, I should raise an error.
Any help would be appreciated.
1 (共1页)
进入Quant版参与讨论
相关主题
请教OAS的问题SQL combine two columns from two different tables no shared (转载)
return of zero-coupon-bondcount unique values in file with 1 million rows (转载)
What does Kelly Strategy Optimize?compare two large tables SQL (转载)
一道概率题目 (转载)SQL add some columns into a table from another table (转载
SQL find distinct values in large table (转载)keep group of values of SQL procedure in one table (转载)
SQL select one value column for each distinct value another (转载)How to write this query in Oracle?
SQL fast search in a 10 million records table (转载)matlab 问题请教:读出空白行 (转载)
请教一道面试题啊!关于SQL的!分享一些面试 笔试题
相关话题的讨论汇总
话题: sql话题: table话题: column话题: multiply话题: values