portableSql

Square Portable SQL Function

Syntax

Square as N (Number as N)

Arguments

NumberNumeric

A numeric field or value.

Returns

resultNumeric

Returns the number raised to the power of 2.

Description

Returns Number raised to the power of 2.

Discussion

The Square function computes the number raised to the power of 2. See also Power.

Square() function executed on the Northwind Access database
SELECT FIRST 1 Square(4) AS EXPR1 FROM Products
 = 16