Identify the BOOLEAN variables in the context of the TRIGGER. Choose all that apply.
-
UPDATING
-
CREATING
-
DELETING
-
SELECTING
-
INSERTING
-
ALTERING
A,C,E
Correct answer
Explanation
PL/SQL provides three boolean predicates for trigger context: INSERTING (true if trigger fired due to INSERT), UPDATING (true if due to UPDATE), and DELETING (true if due to DELETE). These help write logic that behaves differently based on the triggering event. CREATING, SELECTING, and ALTERING are NOT valid PL/SQL boolean trigger variables.