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

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


Applies To: SQL Server 2014, SQL Server 2016 Preview

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, Azure SQL Data Warehouse Public Preview.

Community Additions

© 2015 Microsoft