不等於 (Transact SQL) - 驚嘆號Not Equal To (Transact SQL) - exclamation

適用於: 是SQL Server 是Azure SQL Database 是Azure SQL 資料倉儲 是平行處理資料倉儲 APPLIES TO: yesSQL Server yesAzure SQL Database yesAzure SQL Data Warehouse yesParallel Data Warehouse

測試一個運算式是否等於另一個運算式 (比較運算子)。Tests whether one expression is not equal to another expression (a comparison operator). 如果其中任一個運算元或是兩者皆為 NULL,則傳回 NULL。If either or both operands are NULL, NULL is returned. 運作方式與 <> (不等於) 比較運算子相同。Functions the same as the <> (Not Equal To) comparison operator.

另請參閱See Also

運算式 (Transact-SQL) Expressions (Transact-SQL)
運算子 (Transact-SQL)Operators (Transact-SQL)