Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions