Note: This question is part of a series of questions that use the same or similar answer choices. An
answer choice may be correct for more than one question in the series. Each question is independent
of the other questions in this series. Information and details provided in a question apply only to that
question.
You have a table named Products that contains information about the products that your company sells. The
table contains many columns that do not always contain values.
You need to implement an ANSI standard method to convert the NULL values in the query output to the phrase
“Not Applicable”.
What should you implement?
A.
the COALESCE function
B.
a view
C.
a table-valued function
D.
the TRY_PARSE function
E.
a stored procedure
F.
the ISNULL function
G.
a scalar function
H.
the TRY_CONVERT function
Explanation:
The ISNULL function replaces NULL with the specified replacement value.
https://msdn.microsoft.com/en-us/library/ms184325.aspx
but ISNULL is not ANSI standard, COALESCE (A) is the correct answer
Agreed
COALESCE is a standard function (namely, defined by the ISO/ANSI SQL standards), whereas ISNULL is T-SQL–specific!