首页 > 其他 > 详细

FUNCTION_POWER

时间:2017-10-29 22:40:00      阅读:293      评论:0      收藏:0      [点我收藏+]

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

原文:http://www.cnblogs.com/yjhlsbnf/p/7751446.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!