FUNCTION_POWER

Posted yjhsbn

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了FUNCTION_POWER相关的知识,希望对你有一定的参考价值。

1.power function

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.

以上是关于FUNCTION_POWER的主要内容,如果未能解决你的问题,请参考以下文章