SAS
Monday, 10 October 2011
SQL- Scalar Functions- ROUND()
n
The ROUND() function is used to round a numeric field to the number of
decimals specified.
Syntax:
SELECT Round(column_name,decimals) FROM table_name
Query:
SELECT ROUND(Unitprice,0) AS PRODUCT PRICE FROM ORDtbl
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment