POWER: Raising a Value to a Power (SQL)

How to:

The POWER function returns the value calculated by raising the first argument to the power specified by the second argument.

Syntax: How to Return a Value Raised to a Power

POWER(arg1, arg2)

where:

arg1

Numeric

Is the value to be raised to the power specified by arg2.

arg2

Numeric

Is the value of the power to which to raise arg1.

Example: Returning a Value Raised to a Power

POWER returns the value calculated by raising the first argument to the value specified by the second argument. This example,

EXP(2,4)

returns 16.000.

WebFOCUS

Feedback