portableSql

Power Portable SQL Function

Syntax

Power as N (Base as N, Exponent as N)

Arguments

BaseNumeric

A numeric field or value.

ExponentNumeric

The exponent (power)

Returns

resultNumeric

Returns the Base raised to the power of Exponent.

Description

Returns the Base raised to the power of Exponent.

Discussion

The Power function the Base raised to the power of Exponent. See also Square.

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