SQUARE

functionsupportedCore SQL functions

docs.snowflake.com ↗

Numeric functions

Returns the square of a numeric expression (i.e. a numeric expression multiplied by itself).

Syntax

SQUARE(expr)

Returns

If the input expression is of type DECFLOAT, the returned type is DECFLOAT. Otherwise, the returned type is FLOAT.

Usage notes