i have the following T-SQL statement:
select top 10 value1 from table1 where condition1 = 12345
result:
5449.0
228231.0
0.0
3128.0
6560.0
4541.0
2119.0
0.0
0.0
4183.0
the data type of value1 = "[char] (20) COLLATE Latin1_General_CS_AS NULL"
please note, each result line has 20 chars i.e. "5449.0______________" filled up with spaces.
I want to sum all this columns. how can i convert these values to a summable data type?