Multiple choice technology databases

RAISE_APPLICATION_ERROR procedure can be used ONLY in database triggers to handle user defined exceptions

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

RAISE_APPLICATION_ERROR can be used in stored procedures, functions, and packages - not just triggers. It's a built-in procedure for raising user-defined exceptions with an error code and message. It's available anywhere PL/SQL code executes.