SQUARE (TSQL Function)

Returns the square of the argument.

Syntax

SQUARE ( float_expression )

Arguments

float_expression
is an expression of type float.

Return Types

Returns float.

Examples

PRINT SQUARE(1), SQUARE(1234.5);

The result is:

                      1|             1523990.25|
RSQL, a simple alternative to Microsoft SQL Server