Multiple choice technology databases

Which section of a PL/SQL block would most likely contain a RAISE statement?

  1. Header

  2. Declarative

  3. Executable

  4. Exception

Reveal answer Fill a bubble to check yourself
C,D Correct answer
Explanation

In PL/SQL, the RAISE statement can appear in both the Executable section (to explicitly raise exceptions during normal processing) and the Exception section (to re-raise exceptions or propagate user-defined exceptions). The RAISE statement is not used in the Header or Declarative sections. This is an MC-2 question expecting multiple correct answers.