SQL SQRT Function

The SQRT function returns the square root of the specified number.

The input is of type float or a value that can be converted to a float.

Example

#

This example returns the square root of 16.

SELECT SQRT(16) AS 'SQRT 16'
Result: 1 record
SQRT 16
4

Syntax

Syntax of the SQRT function.

SQRT(value)

value -- a number or column name.


You may also like



Guides


vsn 3.1