Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Which is the wrong ( or the least correct ) statement? Triggers are usually created in scheme level, thus they are stored in database system.

Which is the wrong (or the least correct) statement?
Triggers are usually created in scheme level, thus they are stored in database system.
In the definition of a trigger, we must use the key word declare before declaring any local variables
In general cases (unless we define the trigger using AUTONOMOUS_TRANSACTION option), when we roll back the triggering event, all the inserted records by the trigger will be rolled back too.
Whenever a trigger is defined, no matter for statement level or row level, the system will create and populate two data structures, named as NEW and OLD.
In the conditional predicate case, if we define a trigger such as
INSERT OR DELETE OR UPDATE OF Salary on Employees for each row
, the trigger will not be fired when manager_id is changed.

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_2

Step: 3

blur-text-image_3

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2010 Barcelona Spain September 2010 Proceedings Part 1 Lnai 6321

Authors: Jose L. Balcazar ,Francesco Bonchi ,Aristides Gionis ,Michele Sebag

2010th Edition

364215879X, 978-3642158797

More Books

Students also viewed these Databases questions

Question

Analyze the impact of labor unions on health care.

Answered: 1 week ago

Question

Assess three motivational theories as they apply to health care.

Answered: 1 week ago

Question

Discuss the history of U.S. labor unions.

Answered: 1 week ago