Returns the square root of a number.
SQRT( numeric-expression )
numeric-expression The number for which the square root is to be calculated.
DOUBLE
This function converts its argument to DOUBLE, performs the computation in double-precision floating-point arithmetic, and returns a DOUBLE as the result.
SQL/2008 The SQRT function comprises part of optional SQL/2008 language feature T621, "Enhanced numeric functions".
The following statement returns the value 3.
SELECT SQRT( 9 );