Calculate and return the result of multiplying a number by itself (squared).
SELECT SQUARE(64); |
The SQUARE() function calculates and returns the result of multiplying a number by itself (squaring the number).
SQUARE(number) |
Parameter |
Description |
number |
Required: A positive numeric value to compute its square. |
Works in: |
SQL Server (beginning from 2008), Azure SQL Data Warehouse, Parallel Data Warehouse |
Calculate and provide the square of a given number.
SELECT SQUARE(13); |