Compare with NULL in SQL Server : Interview Question

Q 1: What would be the output of the following script.





Q 2: What would be the output of the following script.





Q 3: What would be the output of the following script.



Ans: All will print "False", Because when we compare anything will null it will return false. so condition will never true.

Comments

Archive

Contact Form

Send