sql server - sum Comma seperated value from a column
Posted
by Aseem Gautam
on Stack Overflow
See other posts from Stack Overflow
or by Aseem Gautam
Published on 2010-04-11T15:31:18Z
Indexed on
2010/04/11
15:33 UTC
Read the original article
Hit count: 416
sql
|sql-server
There is a column in database which contains comma seperated values like: 0.00,12.45,14.33 and so on.
I need to sum this inside a stored procedure. One way which I can think of is to split and convert it into a table using a function and then sum it.
Any other ideas?
© Stack Overflow or respective owner