Which of the following operators is allowed in a trigger?
-
CREATE INDEX
-
RESTORE DATABASE
-
INSERT
-
ALTER DATABASE
C
Correct answer
Explanation
INSERT is allowed in triggers as data modification operations. CREATE INDEX, RESTORE DATABASE, and ALTER DATABASE are DDL (Data Definition Language) operations that cannot be used within triggers. Triggers can execute INSERT, UPDATE, and DELETE operations.