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.
This function converts its arguments to DOUBLE, performs the computation in double-precision floating point, and returns a DOUBLE as the result. 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 ); |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |