Following are Comparison operators. You can go into them to get detailed information.
If x is greater than y, the return value will be true. If x is < and == y, the return value will be false.
Example
The return value of the following statement is true.
ToDate(1999, 10, 10) > ToDate(1999, 2, 5)
If x is greater than y, the return value will be true. If x is < and == y, the return value will be false.
Example
The return value of the following statement is true.
ToDateTime(1999, 10, 10, 10, 10, 10) > ToDateTime(1999, 5, 10, 8, 5, 5)
If x is greater than y, the return value will be true. If x is < and == y, the return value will be false.
Examples
3>2.56
5.29>7.55
If x is greater than y, the return value will be true. If x is < and == y, the return value will be false.
Examples
"string abcd" > "string abc"
"string abc" > "string abcd"
If x is greater than y, the return value will be true. If x is < and == y, the return value will be false.
Example
The return value of the following statement is true.
ToTime(10, 10, 10) > ToTime(8, 10, 10)
If x is less than y, the return value will be true. If x is > and == y, the return value will be false.
Example
The return value of the following statement is false.
ToDate(1999, 10, 10) < ToDate(1999, 2, 5)
If x is less than y, the return value will be true. If x is > and == y, the return value will be false.
Example
The return value of the following statement is false.
ToDateTime(1999, 10, 10, 10, 10, 10) < ToDateTime(1999, 5, 10, 8, 5, 5)
If x is less than y, the return value will be true. If x is > and == y, the return value will be false.
Examples
2.56<3
7.55<5.88
If x is less than y, the return value will be true. If x is > and == y, the return value will be false.
Examples
"string abc" < "string abcd"
"string abcd" < "string abc"
If x is less than y, the return value will be true. If x is > and == y, the return value will be false.
Example
The return value of the following statement is false.
ToTime(10, 10, 10) < ToTime(8, 10, 10)
If x is equal to y, the return value is true. If x is not equal to y, the return value will be false.
Example
The return value of the following statement is false.
ToDate(1999, 10, 10) == ToDate(1999, 5, 10)
If x is equal to y, the return value will be true. If x is not equal to y, the return value will be false.
Example
The return value of the following statement is false.
ToDateTime(1999, 10, 10, 5, 10, 10) == ToDateTime(1999,10, 10, 10, 10, 10)
If x is equal to y, the return value will be true. If x is not equal to y, the return value will be false.
Example
The return value of the following statement is false.
5==4
If x is equal to y, the return value is true. If x is not equal to y, the return value will be false.
Example
The return value of the following statement is false.
"string abcd" == "string abc"
If x is equal to y, the return value will be true. If x is not equal to y, the return value will be false.
Example
The return value of the following statement is false.
ToTime(9, 10, 10) == ToTime(10, 10, 10)
If x is not equal to y, the return value will be true. If x is equal to y, the return value will be false.
Example
The return value of the following statement is true.
ToDate(1999, 10, 10) != ToDate(1999, 5, 10)
If x is not equal to y, the return value will be true. If x is equal to y, the return value will be false.
Example
The return value of the following statement is true.
ToDateTime(1999, 10, 10, 5, 10, 10) != ToDateTime(1999,10, 10, 10, 10, 10)
If x is not equal to y, the return value will be true. If x is equal to y, the return value will be false.
Example
The return value of the following statement is false.
4 <> 4
If x is not equal to y, the return value will be true. If x is equal to y, the return value will be false.
Example
The return value of the following statement is true.
"string abc" != "string abcd"
If x is not equal to y, the return value will be true. If x is equal to y, the return value will be false.
Example
The return value of the following statement is true.
ToTime(9, 10, 10) <> ToTime(10, 10, 10)