sqrt

Calculates the square root of the specified number.

Syntax

sqrt(approx_numeric)

Parameters

Examples

Usage

If you attempt to select the square root of a negative number, the SAP ASE server returns an error message similar to:
Domain error occurred.

See also Transact-SQL Users Guide.

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute sqrt.

Related reference
power