Google News
logo
PL/SQL - Quiz(MCQ)
When DUP_VAL_ON_INDEX exception does is raised?
A)
An invalid username or password is used to log on to the database by a program.
B)
When character strings are converted to numbers, it is raised if the string did not represent a valid number.
C)
A unique index column with duplicate values is raised when this error occurs.
D)
The error is raised if an attempt is made to close an unopened cursor or perform a cursor operation without permission.

Correct Answer :   A unique index column with duplicate values is raised when this error occurs.


Explanation : DUP_VAL_ON_INDEX exception is raised when an attempt is made to close an unopened cursor or perform a cursor operation without permission.

Advertisement