Should I use != or <> for not equal in T-SQL?
I have seen SQL
that uses both !=
and <>
for not equal. What is the preferred syntax and why?
I like !=
, because <>
reminds me of Visual Basic
.
I have seen SQL
that uses both !=
and <>
for not equal. What is the preferred syntax and why?
I like !=
, because <>
reminds me of Visual Basic
.