POWER¶
Returns the value of x to the power of y (xy).
POWER(x,2)
is equivalent to SQUARE(x)
.
Some DBMSs call this feature POW
.
See also: SQUARE.
Syntax¶
POWER( base, exponent )
Arguments¶
Parameter | Description |
---|---|
base |
Numeric expression (x ) |
exponent |
Numeric expression (y ) |
Returns¶
Returns the same type as the argument supplied.
Notes¶
- If the value is NULL, the result is NULL.