Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

!= (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.

Applies to: SQL Server (SQL Server 2008 through current version), Azure SQL Database.

Community Additions

Show:
© 2015 Microsoft