Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
以一个数字为底数另一个数字为指数计算乘方值。
POWER( numeric-expression-1, numeric-expression-2 )
numeric-expression-1 底数。
numeric-expression-2 指数。
DOUBLE
此函数将其参数转换为 DOUBLE,并以双精度浮点运算执行计算。如果任何参数为 NULL,则结果为 NULL 值。
SQL/2008 POWER 函数是可选 SQL/2008 语言功能 T621 "增强的数字函数" 的一部分。
以下语句返回值 64:
SELECT POWER( 2, 6 );