click below
click below
Normal Size Small Size show me how
IT0009 - Formative 4
| Question | Answer |
|---|---|
| The ___ option drops and re-creates the package specification. | ✅ OR REPLACE |
| Package constructs that can be seen and executed from ____ the package are considered public. | ✅ outside |
| Encapsulation refers to a two-part structure in which the detailed _____ code is invisible to the calling environment. | ✅ implementation |
| One of the reasons for using packages is encapsulation wherein related programs and variables are grouped together. (T/F) | ✅ True |
| Variables declared in the package specification are initialized to NULL by default. (T/F) | ✅ True |
| DBA shutting down the database is a data event. (T/F) | ✅ False |
| Since triggers are never explicitly invoked, they cannot receive parameters. (T/F) | ✅ True |
| Trigger executes ___ whenever the associated action occurs. | ✅ implicitly |
| Which statement is used to enable a database trigger? | ✅ ALTER TRIGGER trigger_name ENABLE; |
| Which will view the detailed code and status of the trigger in the data dictionary? | ✅ USER_TRIGGERS |
| The conditional predicates are: ______, INSERTING, DELETING. | ✅ UPDATING |
| In creating a trigger you need to consider the timing and _____. | ✅ event |
| You specify a row trigger using _____ clause. | ✅ FOR EACH ROW |
| Event determines which DML operation causes the trigger to fire. Values are DELETE, UPDATE [OF column], and _____. | ✅ INSERT |
| The following determines when a DML trigger will execute: BEFORE, AFTER, _____. | ✅ INSTEAD OF |
| DML Trigger is classified in two ways: when they execute, how they execute. (T/F) | ✅ True |
| The row trigger is the default type of DML trigger. (T/F) | ✅ False |
| The PREDICATE keywords are automatically declared Boolean variables set to TRUE or FALSE by Oracle. (T/F) | ✅ True |
| A DML trigger is a database trigger. (T/F) | ✅ True |
| The EXECUTE statement is used to invoke a procedure in a trigger. (T/F) | ✅ False |
| A mutating table is an object that is currently being modified by a DML statement. (T/F) | ✅ True |
| The ON SCHEMA cannot be used with SHUTDOWN and STARTUP events. (T/F) | ✅ True |
| The ____ is a statement used to invoke procedure in a trigger. | ✅ CALL |
| Which DDL statements cause a DDL trigger to fire? | ✅ CREATE, ALTER, DROP |
| The ON SCHEMA fires the trigger only for ___ sessions. | ✅ OWN |
| The ___ are fired by non-SQL events in the database. | ✅ Database event trigger |