> (Greater Than)
comparison > (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 > (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 > (Greater Than). The boundary result for > (Greater Than) matches the written rule and NULL is handled separately.
Open Microsoft Learn for full syntax, permissions, and details for your version.