Skip to main content

SQRT

Calculates the square root of a non-negative numeric expression.

See also:
[SELECT]


Syntax

SELECT SQRT(numeric_expression) FROM <multipartIdentifier>;

Arguments

numeric_expression
A non-negative numeric expression for which the square root is to be calculated.

Return Value(s)

Returns the square root of the specified non-negative numeric value.


Examples

Calculate the square root of a number

SELECT SQRT(9) AS square_root;