Last updated 1 year ago
Returns the square of the specified float value. (SQUARE in Transact-SQL).
SQUARE ( float_expression )
Snowflake SQL Documentation
SQUARE(expr)
Code:
SELECT SQUARE (5) AS SQUARE;
Result:
SQUARE| ------+ 25.0|
SQUARE| ------+ 25|