SQL Server 2008 Books Online is updated on 31 October 2008. I always bookmark latest BOL for my easy reference.
Getting Started: New and Updated Topics (31 October 2008)
Analysis Services – Multidimensional Data: New and Updated Topics (31 October 2008)
Database Engine: New and Updated Topics (31 October 2008)
Integration Services: New and Updated Topics (31 October 2008)
Analysis Services – Data Mining: New and Updated Topics (31 October 2008)
Reporting Services: New and Updated Topics (31 October 2008)
Reference: Pinal Dave (http://www.SQLAuthority.com)
4 Comments. Leave new
How do i round 1.0847 to 1.09 using round function in sql server 2005
wating for a reply
thanks in advance .
1.0847 will not round to 1.09 (1.0857 would round to 1.09).
Regardless the function is either:
CONVERT(DECIMAL(3,2),1.0847) = 1.08
or
ROUND(1.0847, 2) = 1.0800
You could also do this if you wanted to get 1.09 from 1.0857:
SELECT CONVERT(DECIMAL(3,2),CONVERT(DECIMAL(4,3),1.0847))
Convert twice the number to make 2 + 2 = 1 :0)
Hi,
@ archana
try this. hope this will help u.
select convert(decimal(3,2),convert(decimal(4,3),1.0847))
Regards,
Neetu