Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

round .5 to 1 in sql server

SELECT ROUND(2.5,0) -- Result: 3
SELECT ROUND(2.4,0) -- Result: 2
Source by www.techonthenet.com #
 
PREVIOUS NEXT
Tagged: #sql #server
ADD COMMENT
Topic
Name
6+9 =