SQL/MX 2.x Reference Manual (G06.24+, H06.03+)
SQL/MX Functions and Expressions
HP NonStop SQL/MX Reference Manual—523725-004
9-146
SQRT Function
SQRT Function
The SQRT function returns the square root of a numeric value expression.
SQRT is an SQL/MX extension.
numeric-expression
is an SQL numeric value expression that specifies the value for the argument of
the SQRT function. The value of the argument must not be a negative number.
See Numeric Value Expressions on page 6-50.
Examples of SQRT
•
This function returns the value 5.19615242270663312E+000, or approximately
5.196:
SQRT (27)
SQRT (numeric-expression)