LEAST
- Last Updated: December 12, 2014
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Returns the lowest value among the values of the given expressions.
Syntax
|
Notes
- The first argument to the function can be of any type. However, the types of the subsequent arguments must be compatible with that of the first argument.
- The type of the result is the same as that of the first argument.
- If any of the argument expressions evaluate to
NULL, the result isNULL. - When the data type of an expression
is eitherCHARACTER(length) orVARCHAR(length), the expressioncan contain multi‑byte characters. The sort weight for each character is determined by the collation table in the database.
Example
This
example illustrates the LEAST function:
|
Compatibility
Progress extension