LESS_OR_EQUAL
Syntax
<lessorequal-expression> := 'LESSOREQUAL(' <Any> ',' <Any> ')'
<lessorequal-expression> := <Any> '<=' <Any>
Since
1.0
Return-type
Boolean
Description
This function tests if each value of the first argument is less or equal to the corresponding value of the second argument. If both arguments have a different size, the function returns FALSE. If one of the arguments is NULL, the function returns NULL.
Instead of this function you also can use the operator "<=".
Examples
LESS_OR_EQUAL( 1, 2 )
= TRUE
1 <= 2
= TRUE
LESS_OR_EQUAL( 2, 2 )
= TRUE
2 <= 2
= TRUE
LESS_OR_EQUAL( NULL, 2 )
= NULL
LESS_OR_EQUAL( JOIN( 2, 3 ), JOIN( 2, 2 ) )
= TRUE
See also
EQUAL, GREATER, GREATER_OR_EQUAL, LESS, UNEQUAL
