标签:nta sed ora second function compute pl/sql syntax ret
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.
select power(10,2) from dual;
Return result is 100.
标签:nta sed ora second function compute pl/sql syntax ret
原文地址:http://www.cnblogs.com/yjhlsbnf/p/7751446.html