!= (Not Equal To) (Transact-SQL)

Tests whether one expression is not equal to another expression (a comparison operator). If either or both operands are NULL, NULL is returned. Functions the same as the <> (Not Equal To) comparison operator.

See Also

Reference

Expressions (Transact-SQL)

Operators (Transact-SQL)