Returns the greater of two parameter values.
GREATER( expression-1, expression-2 )
expression-1 The first parameter value to be compared.
expression-2 The second parameter value to be compared.
Depends on the parameters that are compared.
If the parameters are equal, the first is returned.
SQL/2008 Vendor extension.
The following statement returns the value 10.
SELECT GREATER( 10, 5 ) FROM dummy;