Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - Database Management and Reference » UltraLite SQL Function Reference » Alphabetical list of functions

PI function [Numeric] Next Page

POWER function [Numeric]


Calculates one number raised to the power of another.

Syntax

POWER( numeric-expression-1, numeric-expression-2 )

Parameters

numeric-expression-1    The base.

numeric-expression-2    The exponent.

Remarks

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.

Standards and compatibility
Example

The following statement returns the value 64.

SELECT POWER( 2, 6 );