Calculates one number raised to the power of another.
POWER( numeric-expression-1, numeric-expression-2 )
numeric-expression-1 The base.
numeric-expression-2 The exponent.
DOUBLE
This function converts its arguments to DOUBLE, and performs the computation in double-precision floating point. If any argument is NULL, the result is a NULL value.
SQL/2003 Vendor extension.
The following statement returns the value 64.
SELECT POWER( 2, 6 ); |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |