LessThanOrEqual() function
The LessThanOrEqual() function compares two nodes to determine if the first is less or equal to the second. Implements the comparison operator and can be used in SQL statements either using the function name or the corresponding symbol.
Returns: Boolean
Syntax
LessThanOrEqual(node1, node2)
- node1
- The node that you are will compare against.
- node2
- The node that you are checking to see if it is less than or equal to node1.
Examples
Example 1
SELECT * FROM tablename
WHERE LessThanOrEqual(nodecolumn, '1.4');
This example searches the values in the node column of the table to find the node with the value 1.4.
Example 2
SELECT * FROM tablename
WHERE nodecolumn <= '1.4';
This example is the equivalent to the first, but uses symbols instead of the function name.