Google News
logo
PL/SQL - Quiz(MCQ)
Which exception is rose when there is no other clause in the "WHEN" clause of a CASE statement, and none of the choices in the "WHEN" clause have been selected?
A)
VALUE_ERROR
B)
CASE_NOT_FOUND
C)
INVALID_CURSOR
D)
DUP_VAL_ON_INDEX

Correct Answer : Option (B) :   CASE_NOT_FOUND


Explanation : CASE_NOT_FOUND exception is rose when there is no other clause in the "WHEN" clause of a CASE statement, and none of the choices in the "WHEN" clause have been selected.

Advertisement