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)

 

SQRT 関数 [数値]

数の平方根を返します。

構文
SQRT( numeric-expression )
パラメータ
  • numeric-expression   平方根が計算される数。

戻り値

DOUBLE

備考

この関数は、引数を DOUBLE に変換し、計算を倍精度浮動小数点で行い、結果を DOUBLE で返します。

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

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

SELECT SQRT( 9 );