ms sql not equal operator code example Example 1: not equal operator sql <> Not Equal != Not Equal Example 2: not equal in sql row <> value