Using <> vs. != in queries

Should one of these be used all the time? Or are there certain situations where each should be used in queries?

Thank you!

I don’t exactly understand what you mean with <> vs. !=

The SQL I used needs <> to say that it is different.

!= is something I’ve seen in some programming languages but not in SQL.

1 Like

<> is standard sql

!= is not supported in all databases

govern yourselves accordingly :smiley:

4 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.