The SQRT function returns the square root of a number.
If the argument is DECFLOAT(n), the result is DECFLOAT(n). Otherwise, the result of the function is a double precision floating-point number. If the argument is a special decimal floating point value, the general rules for arithmetic operations apply. See General arithmetic operation rules for DECFLOAT for more information. If the argument can be null, the result can be null; if the argument is null, the result is the null value.
SELECT SQRT(:SQUARE) FROM SYSIBM.SYSDUMMY1Returns the approximate value 3.00.