This article explains different comparison operators available in SQL server with example.
Operator
Meaning
= ( Equals )
Equal to
> ( Greater Than )
Greater than
< ( Less Than )
Less than
>= ( Greater Than or Equal To )
Greater than or equal to
<= ( Less Than or Equal To )
Less than or equal to
<> ( Not Equal To )
Not equal to
!= ( Not Equal To )
!< ( Not Less Than )
Not less than
!> ( Not Greater Than )
Not greater than