Home Forums SQL Server 2008 T-SQL (SS2K8) Problem with Round RE: Problem with Round
Sean Pearce
SSCoach
Points: 15999
More actions
July 30, 2014 at 6:53 am
#1733560
CREATE TABLE #t (Valores MONEY);
GO
INSERT INTO #t SELECT 1.1;
GO 6
SELECT
SUM(ROUND(Valores, 0)) AS SumRound,
ROUND(SUM(Valores), 0) AS RoundSum
FROM
#t;
DROP TABLE #t;
The SQL Guy @ blogspot[/url]
@SeanPearceSQL
About Me[/url]