Wednesday, 5 October 2016

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.

WHAT OTHERS ARE READING/RELATED TO THIS:

0 comments:

Post a Comment

Find job here...