Which of the following events can be used to fire triggers?
-
sysdate
-
Truncate
-
avg
-
To_date
B
Correct answer
Explanation
TRUNCATE is a DDL (Data Definition Language) operation that can fire triggers in database systems. Sysdate is a function, avg is an aggregate function, and to_date is a conversion function - none of these are events that fire triggers. Only DDL/DML operations like TRUNCATE can trigger database triggers.