Answered step by step
Verified Expert Solution
Link Copied!

Question

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 to Expert-Tailored 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

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

6th International Edition

061921323X, 978-0619213237

More Books

Students also viewed these Databases questions

Question

Use loop analysis to find Io in the circuit shown. 2 nA 4mA 2 2

Answered: 1 week ago

Question

4. Label problematic uses of language and their remedies

Answered: 1 week ago