Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
Returns the square root of a number.
The number for which you want the square root, a column that contains numbers, or an expression that evaluates to a number.
A decimal number.
If the number is negative, the SQRT function returns an error.
The following formula returns 5.