| Oracle9i SQL Reference Release 2 (9.2) Part Number A96540-02 |
|
|
View PDF |
power::=
POWER returns m raised to the nth power. The base m and the exponent n can be any numbers, but if m is negative, then n must be an integer.
The following example returns 3 squared:
SELECT POWER(3,2) "Raised" FROM DUAL; Raised ---------- 9