Advantage Concepts
Advantage Expression Engine function that returns the smaller of two numeric or date values
MIN( <nExp1>, <nExp2> ) --> nSmaller
MIN( <dExp1>, <dExp2> ) --> dSmaller
<nExp1> and <nExp2> |
The numeric values to be compared. |
<dExp1> and <dExp2> |
The date values to be compared. |
MIN() returns the smaller of the two arguments. The value returned is the same data type as the arguments.
MIN() is a numeric and date function that ensures the value of an expression is smaller than a specified minimum. The inverse of MIN() is MAX() which returns the greater of two numeric or date values.
Note Advantage Expression Engine functions can be used in expressions such as record filter expressions and index expressions. They are not necessarily scalars supported within SQL statements. For a list of supported SQL scalar functions, see Supported Scalar Functions.