SQRT

Returns a DOUBLE PRECISION value representing the arithmetic square root of the argument.

Returns a DOUBLE PRECISION value representing the arithmetic square root of the argument.

Behavior type

Immutable

Syntax

SQRT ( expression )

Parameters

expression
Is an expression of type DOUBLE PRECISION

Examples

SELECT SQRT(2);
      sqrt
-----------------
 1.4142135623731
(1 row)