Site icon Database Tutorials

SQRT and SQUARE Functions in SQL Server

 

SQRT function returns the square root of a float value and the return data type is float.

SQUARE function returns the square of a float value ant the return data type is float.

Look at the example below;

SQRT Function:

SQUARE Function:

Exit mobile version