In this post explains how to use the CEILING function in SQL Server (Transact-SQL) with syntax and examples.
In SQL Server (Transact-SQL), the CEILING function returns the smallest integer value that is greater than or equal to a number.
The syntax for the CEILING function in SQL Server (Transact-SQL) is:
The number used to find the smallest integer value.
The CEILING function can be used in the following versions of SQL Server (Transact-SQL):
Let's look at some SQL Server CEILING function examples and explore how to use the CEILING function in SQL Server (Transact-SQL).
For example: