Oracle Database 11g: Program with PL/SQL — Question 56

Examine the following command:

SQL>ALTER SESSION -
SET plsql_warnings *
'enable: severe',
'enable: performance',
'ERROR: 05003';
What is the implication of the above command?

Answer options

Correct answer: B

Explanation

The correct answer is B because the command specifically configures the session to treat the ERROR: 05003 as a severe warning that will cause compilation to fail. Options A and C misinterpret the severity of the error, as they suggest warnings rather than a failure. Option D incorrectly states that it pertains to incorrect results or unreachable code, which does not align with the specific warning set by the command.