Home »
PL/SQL MCQs
When ROWTYPE_MISMATCH exception is raised?
125. When ROWTYPE_MISMATCH exception is raised?
- When a member method is invoked on an object type, but its instance has not been initialized, this exception is raised.
- Error in PL/SQL occurs when memory is exhausted or corrupt.
- Cursors raise this exception when they seek values in variables of incompatible types.
- None of the above
Answer: C) Cursors raise this exception when they seek values in variables of incompatible types.
Explanation:
Cursors raise the exception ROWTYPE_MISMATCH when they seek values in variables of incompatible types.