Mega Code Archive

 
Categories / Oracle PLSQL Tutorial / Numerical Math Functions
 

POWER(x, y) gets the result of x raised to the power y

The following example uses POWER() to display 2 raised to the power 1 and 3, respectively: SQL> SELECT POWER(2, 1), POWER(2, 3) FROM dual; POWER(2,1) POWER(2,3) ---------- ----------          2          8 SQL>