What will be the result of the query below?
select case when null = null then 'True' else 'False' end as Result;
Answer:
False ! The reason is the proper way to compare a value in SQL server is using ‘IS’ operator and not using ‘=’.
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
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