SQUARE

Description

Returns the square of the specified float value. (SQUARE in Transact-SQL).

Sample Source Pattern

Syntax

SQUARE ( float_expression )  

Examples

Code:

IN -> SqlServer_01.sql
SELECT SQUARE (5) AS SQUARE;

Result:

SQUARE|
------+
  25.0|

Last updated