!= (Not Equal To)

Compares two expressions to determine whether the left expression is not equal to the right expression. The != (Not Equal To) operator is functionally equivalent to the <> operator.
expression!=expression
or
expression <> expression

Arguments

expression: Any valid expression. Both expressions must have implicitly convertible data types.

Result Types

true if the left expression is not equal to the right expression; otherwise, false.

Example

select p from Products as p where p.UnitPrice != 10
select p from Products as p where p.UnitPrice <> 10

Last edited Mar 25, 2013 at 7:41 AM by ansiboy, version 1

Comments

No comments yet.