Site icon Database Tutorials

CEILING Function in SQL Server(TSQL)

 

The CEILING function returns the smallest integer value greater than a number. If the number is already an integer, it returns the same number as the result. The return data type is the data type of the input parameter.

Below you can see how the CEILING function behaves at different values.

Exit mobile version