CA Dataquery provides the following standard functions for use in a SET statement of a query.
►►─┬─ MAX(arg1,arg2,...,argn) ─┬──────────────────────────────────────────────►◄ ├─ MIN(arg1,arg2,...,argn) ─┤ ├─ AVG(arg1,arg2,...,argn) ─┤ └─ ABS(arg1) ───────────────┘
Description
Returns the highest value of a list of arguments.
Returns the lowest value of a list of arguments.
Returns the average value of a list of arguments.
Returns the absolute value of the argument.
The argument list in parentheses must immediately follow the function name with no intervening blanks. An argument can be a literal value, numeric database column or the result from a previous SET statement.
|
Copyright © 2014 CA.
All rights reserved.
|
|