Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.8 KB

not-greater-than-transact-sql.md

File metadata and controls

46 lines (35 loc) · 1.8 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
!> (Not Greater Than) (Transact-SQL)
!> (Not Greater Than) (Transact-SQL)
rwestMSFT
randolphwest
03/13/2017
sql
t-sql
reference
!>_TSQL
!>
!> (not greater than)
not greater than operator (!>)
TSQL

!> (Not Greater Than) (Transact-SQL)

[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance]

Compares two expressions (a comparison operator). When you compare non-null expressions, the result is TRUE if the left operand doesn't have a greater value than the right operand. Otherwise, the result is FALSE. Unlike the = (equality) comparison operator, the result of the !> comparison of two NULL values doesn't depend on the ANSI_NULLS setting.

:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: Transact-SQL syntax conventions

Syntax

expression !> expression  

[!INCLUDEsql-server-tsql-previous-offline-documentation]

Arguments

expression
Is any valid expression. Both expressions must have implicitly convertible data types. The conversion depends on the rules of data type precedence.

Result Types

Boolean

See Also

Data Types (Transact-SQL)
Operators (Transact-SQL)