Q:

What will be the result of the query below?

0

 What will be the result of the query below?

select case when null = null then 'True' else 'False' end as Result;

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

False ! The reason is the proper way to compare a value in SQL server is using ‘IS’ operator and not using ‘=’.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Top 100 SQL server queries Interview questions

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What would be the output of the follwing query?... >>
<< Write a query to calculate number of T in string ...