QuestionQ7

VerifiedUsing Conversion Functions and Conditional Expressions

Which two statements are true about the NVL, NVL2, and COALESCE functions?

Choose two
Explanation

NVL2 uses its first expression only to determine whether it is null; it returns either its second expression when the first is not null or its third expression when the first is null. COALESCE uses short-circuit evaluation and stops once it finds the first non-null expression.

Learn more

Community Discussion

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