Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 1.34 KB

File metadata and controls

35 lines (31 loc) · 1.34 KB
title != (Not Equal To) (Transact-SQL) | Microsoft Docs
ms.custom
ms.date 03/06/2017
ms.prod sql
ms.prod_service database-engine, sql-database, sql-data-warehouse, pdw
ms.reviewer
ms.technology t-sql
ms.topic language-reference
f1_keywords
!=
Not Equal To
!=_TSQL
Not Equal
Equal
dev_langs
TSQL
helpviewer_keywords
!= (not equal to)
not equal to operator (!=)
ms.assetid f1054809-04f2-4995-9ebd-cb67098e6708
author rothja
ms.author jroth
monikerRange >=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current

Not Equal To (Transact SQL) - exclamation

[!INCLUDEtsql-appliesto-ss2008-all-md]

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

Expressions (Transact-SQL)
Operators (Transact-SQL)