ISNULL vs COALESCE | ISNULL vs IS NULL | NULLIF vs IIF | ISNULL vs IFNULL vs NVL | COALESCE vs CASE

preview_player
Показать описание
ISNULL vs COALESCE | ISNULL vs IS NULL | NULLIF vs IIF | ISNULL vs IFNULL vs NVL | COALESCE vs CASE

Agenda:
-------------
Q01. What is the difference between ISNULL() and COALESCE()?
Q02. What is the difference between ISNULL() and IS NULL?
Q03. What is the difference between ISNULL() and NULLIF()?
Q04. What is the difference between NULLIF() and IIF()?
Q05. How ISNULL() differs from NVL() and IFNULL()?
Q06. What is the difference between COALESCE() and CASE?
Q07. Can you use COALESCE() in place of ISNULL()?
Q08. Can you use user-defined type in ISNULL() or COALESCE()?
Q09. Can you use mixed types in ISNULL() and COALESCE()?
Q10. Does input order matters in COALESCE() and ISNULL()?
Q11. Can a COALESCE() expression return the NULL value?
Q12. Can a ISNULL() function returns NULL value?
Q13. What is the use of the dm_exec_describe_first_result_set command?

ISNULL(): The SQL IFNULL() function lets you return an alternative value if an expression is NULL.

COALESCE(): The SQL COALESCE() is an expression that can be used to evaluate a list of values and return the first non-NULL value.

IFNULL(): The MySQL IFNULL() function lets you return an alternative value if an expression is NULL.

NULLIF(): A SQL function that returns a NULL value if two expressions are equal. If they are not equal, the function returns the first expression.

NVL(): The Oracle NVL() function achieves the same result.

IIF(): The SQL IIF() function returns the first value if a condition is TRUE, or the second value if the condition is FALSE. It is the same as the ternary operator.

Recommended Videos Playlists:
============================================================

Recommended SQL Videos:
============================================================

Recommended C# Interview Questions Videos:
============================================================

Recommended C# Videos:
============================================================

Follow Us on Social Media Platforms:
============================================================

Рекомендации по теме