I have the following query:
SELECT
CONVERT(DECIMAL(11,1),SUM(Column/1000*-1)) AS NAME,
FROM
Table
The reason I have "/ 1000 * -1" is because I would like the results to be displayed in thousands and inverted (negative values as positive and vice versa) with one decimal place.
How can I get positive values, they have a plus sign (+) in front of them, just as negative values have a dash sign (-)?
source
share