Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Compares two expressions. When you compare nonnull expressions by using this operator, the result is TRUE when the left operand has a value higher than the right operand. Otherwise, the result is FALSE.

expression > expression

Any valid expression in Microsoft SQL Server Compact. Both expressions must have implicitly convertible data types. The conversion depends on the rules of data type precedence.

The following example uses the greater than comparison operator to find all orders in the Order Details table with quantities of more than 100 units.

SELECT * FROM "Order Details" WHERE Quantity > '100'
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.