Computes the square root of the input parameter.  Input value can be a Decimal or Integer literal or a reference to a column containing numeric values. All generated values are non-negative.

Numeric literal example:

derive type:single value:SQRT(25 )

Output: Generates a column containing the square root of 25, which is 5.

Column reference example:

derive type:single value:SQRT(MyValue) as: 'sqroot_MyValue'

Output: Generates the new sqroot_myValue column containing the square root of the values of the MyValue column. 

derive type:single value:SQRT(numeric_value)

ArgumentRequired?Data TypeDescription
numeric_valueYstring, decimal, or integerName of column or Decimal or Integer literal to apply to the function


Name of the column or numeric literal whose values are used to compute the square root.

NOTE: Negative input values generate null output values.

Required?Data TypeExample Value
YesString (column reference) or Integer or Decimal literal25

Example - Pythagorean Theorem