Thursday, September 14, 2017

IS keyword in T-SQL?

SELECT * FROM Yin WHERE Yang is not null

...is the way to do a select to not find null stuff and not...

 
 

SELECT * FROM Yin WHERE Yang <> null

...and this kinda surprised me. I was expecting to rock the <> Not Equal To comparison operator.

No comments:

Post a Comment