Using SQL Server, you can use the T-SQL SQUARE()
function to return the square of a specified float value. The square of a number is the result of multiplying the number by itself.
You provide the number as an argument when calling the function.
The return data type is float.