以一个数字为底数另一个数字为指数计算乘方值。
POWER( numeric-expression-1, numeric-expression-2 )
numeric-expression-1 底数。
numeric-expression-2 指数。
DOUBLE
此函数将其参数转换为 DOUBLE,并以双精度浮点执行计算。如果任何参数为 NULL,则结果为 NULL 值。
SQL/2003 服务商扩充。
以下语句返回值 64。
SELECT POWER( 2, 6 ); |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |