Exam 9: Database Triggers
Exam 1: Introduction To PL/SQL54 Questions
Exam 2: Basic PL/SQL Block Structures81 Questions
Exam 3: Handling Data In PL/SQL Blocks51 Questions
Exam 4: Cursors and Exception Handling65 Questions
Exam 5: Procedures75 Questions
Exam 6: Functions51 Questions
Exam 7: PL/SQL Packages68 Questions
Exam 8: Program Unit Dependencies61 Questions
Exam 9: Database Triggers54 Questions
Exam 10: Oracle-Supplied Packages, Dynamic SQL, and Hiding Source Code85 Questions
Select questions type
The FOLLOWS trigger option enables a developer to control the firing order of triggers.
(True/False)
4.7/5
(29)
A(n) ___________________________ is one that is referenced via a foreign key constraint on the table that a trigger is modifying.
(Short Answer)
4.9/5
(31)
A database ___________________________ is a block of PL/SQL code that runs automatically when a particular database event occurs.
(Short Answer)
4.9/5
(33)
A constraining table is one that is being modified by a DML action when a trigger is fired.
(True/False)
4.9/5
(39)
A(n) ____ table is one that is involved in a join and the keys of the original table are included in the keys of the resultant join.
(Multiple Choice)
4.9/5
(39)
A(n) ___________________________ is a PL/SQL block that executes in place of a DML action on a database view.
(Short Answer)
4.8/5
(28)
Correlation identifiers allow us to refer to and use the row data values of a DML action. _________________________
(True/False)
4.9/5
(33)
If multiple triggers exist on a table, there is no guarantee about the order in which the triggers will be fired.
(True/False)
4.8/5
(31)
All of the following would cause a trigger to fire, except ____.
(Multiple Choice)
4.8/5
(37)
CURSOR basketitem_curIS
SELECT idproduct, quantity, option1
FROM bb_basketitem
WHERE idbasket = :NEW.idbasket;
In the code fragment above, which of the following represents the correlation identifier?
(Multiple Choice)
4.8/5
(38)
Using the MULITPLE TRIGGER clause will allow more than one triggering event to be included in a single trigger.
(True/False)
4.8/5
(29)
Which of the following statements is True about mutating tables?
(Multiple Choice)
4.9/5
(44)
One prominent limitation in the use of triggers is that they cannot issue transaction control statements of COMMIT, ROLLBACK, and SAVEPOINT.
(True/False)
4.8/5
(35)
CREATE [OR REPLACE] TRIGGER trigger_name [BEFORE, AFTER]
[List of DDL or Database System Events] [ON DATABASE |
SCHEMA] Trigger body;
The syntax above represents that of a(n) ____ trigger.
(Multiple Choice)
4.9/5
(44)
The ALTER TRIGGER statement is used to recompile, enable, or disable a trigger.
(True/False)
4.8/5
(33)
Which of the following events will cause the trigger to fire?
AFTER UPDATE OF orderplaced ON bb_basket
(Multiple Choice)
4.8/5
(34)
Numerous triggers can be constructed on one table and, therefore, a DML action on that table can fire off more than one trigger.
(True/False)
4.8/5
(31)
Showing 21 - 40 of 54
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)