Calculate and return the square root of a given number.
SELECT SQRT(64); |
The SQRT() function calculates and returns the square root of a number.
SQRT(number) |
Parameter |
Description |
number |
Required: A positive numeric value from which to compute the square root. |
Works in: |
SQL Server (beginning from 2008), Azure SQL Database, Azure SQL Data Warehouse, and Parallel Data Warehouse |
Calculate and provide the square root of a specified number.
SELECT SQRT(13); |