หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Applies to:
Databricks SQL
Databricks Runtime
Returns the square root of expr.
Syntax
sqrt(expr)
Arguments
expr: An expression that evaluates to a numeric.
Returns
A DOUBLE.
If expr is negative the result is NaN.
Examples
> SELECT sqrt(4);
2.0
> SELECT sqrt(-4);
NaN