QuestionQ55

VerifiedManaging Objects with the Data Dictionary

Review the structure of the INVOICE table:

Exhibit:

Question Image

Which two SQL statements execute successfully?

Choose two
Explanation

NVL2 returns its second expression when the first expression is not null; otherwise, it returns its third expression. The character literals in A have compatible types. C is accepted through Oracle Database’s NVL2 implicit datatype-conversion behavior. B requires conversion of 'Not Available' to a DATE, and D requires conversion of that nonnumeric literal to a number, so those statements raise conversion errors.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!