Oracle® OLAP DML Reference 10g Release 2 (10.2) Part Number B14346-02 |
|
|
View PDF |
The GREATEST function returns the largest expression in a list of expressions. All expressions after the first are implicitly converted to the data type of the first expression before the comparison.
To retrieve the smallest expression in a list of expressions, use LEAST.
Return Value
The data type of the first expression.
Syntax
GREATEST (expr [, expr]...)
Arguments
An expression.
Examples