Wednesday, 5 October 2016

// // Leave a Comment

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.

0 comments:

Post a Comment