Skip to main content
Returns the square root of a numeric expression.

Syntax

Parameters

Notes

  • When input value is integer data type, it is implicitly converted to DOUBLE PRECISION.
  • When input value is NUMERIC, the SQRT function returns an error.
  • When input value is negative, the SQRT function returns an error.

Return Types

DOUBLE PRECISION.

Example

The following example returns the square root of 64:

Rows: 1Execution time: 5.22ms