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

SQL Anywhere 11.0.1 (日本語) » Ultra Light データベース管理とリファレンス » Ultra Light SQL リファレンス » Ultra Light SQL 関数 » SQL 関数 (P ~ Z)

 

POWER 関数 [数値]

数のべき乗を表す数を計算します。

構文
POWER( numeric-expression-1, numeric-expression-2 )
パラメータ
  • numeric-expression-1   べき乗の底。

  • numeric-expression-2   指数。

戻り値

DOUBLE

備考

この関数は、引数を DOUBLE に変換し、倍精度浮動小数点で計算を行います。引数のいずれかが NULL の場合、結果は NULL 値になります。

標準と互換性
  • SQL/2003   ベンダ拡張。

次の文は、値 64 を返します。

SELECT POWER( 2, 6 );