Operator greater than ( > )

numeric op1 > numeric op2

If Op1 is greater than Op2, the return value will be true. If Op1 is < and == Op2, the return value will be false.

Examples

string op1 > string op2

If Op1 is greater than Op2, the return value will be true. If Op1 is < and == Op2, the return value will be false.

Examples

date op1 > date op2

If Op1 is greater than Op2, the return value will be true. If Op1 is < and == Op2, the return value will be false.

Example

The return value of the following statement is true.

ToDate(1999, 10, 10) > ToDate(1999, 2, 5)

time op1 > time op2

If Op1 is greater than Op2, the return value will be true. If Op1 is < and == Op2, the return value will be false.

Example

The return value of the following statement is true.

ToTime(10, 10, 10) > ToTime(8, 10, 10)

datetime op1 > datetime op2

If Op1 is greater than Op2, the return value will be true. If Op1 is < and == Op2, 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)