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.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.