date not equal to where clause sql server code example Example: not equal operator sql <> Not Equal != Not Equal