SQL Flow Field Guide

!> (Not Greater Than)

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

comparison !> (Not Greater Than)

What changes

Input
two expressions
Output or change
TRUE, FALSE or UNKNOWN (UNKNOWN when either side is NULL under ANSI_NULLS ON)

Syntax at a glance

expression !> expression

Work example

A filter needs !> (Not Greater Than) to compare values with a stated boundary rule.

Test equal, lower, higher, and NULL values. Prefer the standard comparison spelling used by the project.

Check your work !> (Not Greater Than). The boundary result for !> (Not Greater Than) matches the written rule and NULL is handled separately.

Open Microsoft Learn for full syntax, permissions, and details for your version.