Question: You have created the sample _ trig 1 trigger as follows: CREATE TRIGGER sample _ trig 1 AFTER CREATEON SCHEMA BEGIN INSERT INTO audit _

You have created the sample_trig1 trigger as follows:
CREATE TRIGGER sample_trig1
AFTER CREATEON SCHEMA
BEGIN
INSERT INTO audit_table (userid, objectname, owner, objecttype)
VALUES (USER, SYS.DICTIONARY_OBJ_NAME, SYS.DICTIONARY_OBJ_OWNER,
SYS.DICTIONARY_OBJ_TYPE);
END;
Which two conditions will prompt this trigger to be fired? (Choose two.)
A.
when a table is created in the database
B.
when you create an index in the database
C.
when you create a package in your schema
D.
when a user creates a function in your schema
E.
when you create a database link in the database

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!