I have got a table. In this table there are some sample data.
table data:
select col1 from table
result set:
col1
1+2+3+45-6+7+8-9
1+2+3+45-6+7+89
1+2+3+45-6+7-8+9
1+2+3+45-6+7-8-9
...
..
.
Is there any way to calculate column data?
Like this :
select col1, Calculate(col1) as col2 from table
col1 col2
----------------- -------------
1+2+3+45-6+7+8-9 51
1+2+3+45-6+7+89 141
1+2+3+45-6+7-8+9 53
1+2+3+45-6+7-8-9 35