Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.27 KB

File metadata and controls

35 lines (28 loc) · 1.27 KB
title != (Not Equal To) (Transact-SQL)
description Not Equal To (Transact SQL) - exclamation
author rwestMSFT
ms.author randolphwest
ms.reviewer
ms.date 03/06/2017
ms.prod sql
ms.prod_service database-engine, sql-database, synapse-analytics, pdw
ms.technology t-sql
ms.topic reference
ms.custom
f1_keywords
!=
!=_TSQL
helpviewer_keywords
!= (not equal to)
not equal to operator (!=)
dev_langs
TSQL
monikerRange >= aps-pdw-2016 || = azuresqldb-current || = azure-sqldw-latest || >= sql-server-2016 || >= sql-server-linux-2017 || = azuresqldb-mi-current

Not Equal To (Transact SQL) - exclamation

[!INCLUDE sql-asdb-asdbmi-asa-pdw]

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)