Possible Duplicate:
Testing for inequality in T-SQL
Hi,
does there any different to use the '!=' vs '<>' vs 'Not'?
which one will have the worst performance
or it exist just because of the backward compatibility syntax?
NOT does not always act the same!= or <> are identical, no deprecation mentioned. <> is ISO thoughAFAIK, if you want to check for NULL, you must use IS NOT and not != or <>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With