Previous Topic: SQLCA Data for DATACOM SQLNext Topic: $STRING Function


$SQRT Function

$SQRT returns the square root of a numeric expression.

This function has the following format:

$SQRT (numericexpression)

If the numeric expression is negative, an error condition is raised.

Example

SET I = $SQRT(J)         :If J is 36, I is 6.