WebSphere Message Brokers
File: ak05390_
Writer: Bill Oppenheimer

Reference topic

This build: July 31, 2007 21:32:03

SQRT function

The SQRT numeric function returns the square root of a given number.

Syntax

SQRT returns the square root of source_number. The parameter can be any built-in numeric data type. The result is a FLOAT. If the parameter is NULL, the result is NULL.

For example:
SQRT(4)
returns 2E+1
SQRT(2)
returns 1.414213562373095E+0
SQRT(-1)
throws an exception.
Related concepts
ESQL overview
Related tasks
Developing ESQL
Related reference
Syntax diagrams: available types
ESQL numeric functions
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:32:03

ak05390_ This topic's URL is: