ASA SQL Reference
SQL Functions
Alphabetical list of functions
Returns the greater of two parameter values. If the parameters are equal, the first is returned.
GREATER ( expression1, expression2 )
SQL/92 Vendor extension.
SQL/99 Vendor extension.
Sybase Not supported by Adaptive Server Enterprise.
LESSER function [Miscellaneous]
The following statement returns the value 10.
SELECT GREATER( 10,5 ) FROM dummy