Quick Search:
CODE
Oracle PL/SQL Code Library
JOBS
Find Or Post Oracle Jobs
FORUM
Oracle Discussion & Chat
 The Oracle PL/SQL POWER Function      [Return To Index] Jump to:  
  Looking for the original pages? (formerly called "Morgan's Library") You can find them here.

Term: POWER

Definition:
The Oracle PL/SQL, the POWER function is a built in function which takes two numeric inputs and returns numeric result as first argument raised to second argument. The statement "POWER (a,b)" computes as ( a^b ).

Example Syntax:

POWER(x,y) 


Here, "x" is the base while "y" is the exponent.

Example Usage:

The SQL query below calculates 2nd power of base 10.

SQL> SELECT POWER(10,2) FROM DUAL;

POWER(10,2)
-----------
100



Related Links:
 
Home      :      Code Library      :      Sponsors      :      Privacy      :      Terms of Use      :      Contact Us 297 users online    © 2009 psoug.org
PSOUG LOGIN
Username: 
Password: 
Forgot your password?