Example
SELECT CEILING(25.75) AS CeilValue;Definition and Usage
The CEILING() function returns the smallest integer value that is larger than or equal to a number.
Tip
Also look at the FLOOR() and ROUND() functions.
Syntax
CEILING(
number
)Parameter Values
| Parameter | Description |
|---|---|
| number | Required. A numeric value |
Technical Details
| Works in: | SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse |
|---|