SQRT
Computes the square root of the given input.
Syntax
Arguments
X
X
Type: numeric
A numeric value.
Returns
Type: double
The square root of X
as a double
.
Note that if , then the function returns a null value.
Examples
X | Output |
---|---|
1 | 1.0 |
-1 |
|
0 | 0.0 |
10.5 | 3.24037034920393 |
Transformation job example
SQL
Query result
sqrt_example |
---|
2.0 |
Last updated