Save
Upgrade to remove ads
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

DBSA FA4

QuestionAnswer
What is missing in the given package body construct? CREATE [OR REPLACE] PACKAGE package_name IS|AS private type and variable declarations subprogram bodies [BEGIN initialization statements] END [package_name]; BODY
The _____ is the interface to your applications that declares the constructs (procedures, functions, variables, and so on) which are visible to the calling environment. PACKAGE SPECIFICATION
The ____ option drops and re-creates the package specification. CREATE OR REPLAC
The OR REPLACE option deletes an existing package body. False
Encapsulation refers to a two-part structure in which the detailed package body code is invisible to the calling environment, which can only see the. If changes to the code are needed, the body can be edited and recompiled without having to edit or recom True
One of the differences between triggers and stored procedure is that, TCL statements are allowed in triggers which are not allowed in the stored procedures. False
Triggers like subprograms may or may not have parameters. False
Which will view the detailed code and status of the trigger in data dictionary? Group of answer choices USER_TRIGGERS All the options USER_OBJECTS USER_ERRORS All the options
The_________ allow specified actions to be performed automatically within the database, without having to write extra application code. TRIGGER
A _______ triggers execute whenever a particular event occurs within an application. APPLICATION
A _______ trigger is a trigger that is automatically fired (executed) whenever an SQL DML statement (INSERT, UPDATE, or DELETE) is executed. DML
The following determines when a DML trigger will execute: BEFORE, AFTER, ________. INSTEAD OF
A ________ fires once for each row affected by the triggering DML statement, either just BEFORE the row is processed or just AFTER. ROW‑LEVEL TRIGGER
The ________ keywords are automatically declared Boolean variables which are set to TRUE or FALSE by the Oracle server. These keywords maybe used in the trigger body instead of UPDATE, INSERT, DELETE. CONDITIONAL PREDICATES
Event determines which DML operation causes the trigger to fire. Values are INSERT, UPDATE [OF column], and ______. DELETE
Exception section is not allowed in triggers. False
A DML trigger is a database trigger. True
TCL statement is allowed in triggers. Group of answer choices True False False
You specify a row trigger using FOR EACH ROW clause. Group of answer choices True False True
In creating trigger you need to consider the timing and event. True
The ON SCHEMA fires the trigger only for your own sessions. False
A MUTATE table is an object that is currently being modified by a DML statement. True
The EXECUTE is a statement is used to invoke procedure in a trigger. Group of answer choices True False False
The ON SCHEMA cannot be used with SHUTDOWN and STARTUP events. Group of answer choices True False True
The CALL is a statement is used to invoke procedure in a trigger. Group of answer choices True False True
The code below will: CREATE OR REPLACE TRIGGER log_create_trigg AFTER CREATE ON SCHEMA BEGIN INSERT INTO log_table VALUES (USER, SYSDATE); END; The trigger fires whenever any type of object is created in your schema.
An ON DATABASE fires the trigger for ____ on all schemas in the database. DDL
A ________trigger must not query or modify a mutating table. ROW-LEVEL
A ________ fires the trigger for DDL on all schemas in the database. ON DATABASE
The ______ fires the trigger only for your own sessions. ON SCHEMA
The package specification should contain the subprogram ________ and associated parameters terminated by a semicolon. NAME
The _____ contains the executable code of the subprograms which were declared in the package specification. It may also contain its own variable declarations. PACKAGE BODY
The ________ declared in the package specification are initialized to null by default. VARIABLES
Variables declared in the package body are considered private. True
A package is considered as a database Object. True
To create triggers in other user’s schemas, you need the CREATE TRIGGER privilege. False
Since triggers are never explicitly invoked, they cannot receive parameters. True
Since triggers are never explicitly invoked, they cannot receive ________. actual parameters
You can use triggers to generate derived column values _________. AUTOMATICALLY
The ____ trigger timing executes the trigger body before the triggering DML event on a table. BEFORE
The conditional predicates are: _______, INSERTING, DELETING. UPDATING
The row trigger is the default type of DML trigger. False
DML Trigger is classified in two ways: when they execute, how many times they execute. True
A DML trigger may have more than one triggering event. True
The given trigger header contains no error. CREATE OR REPLACE TRIGGER emp_del_trigg AFTER DELETE ON employees BEGIN <assume valid PL/SQL statements here> END; True
A MUTATING table is an object that is currently being modified by a DML statement. True
You cannot create a DDL trigger that refers to a specific database object. True
A statement trigger cannot SELECT from a mutating table. False
A ON SCHEMA fires the trigger for DDL on all schemas in the database. True
The _________ are fired by non-SQL events in the database. Database event trigger
The _______ is a statement is used to invoke procedure in a trigger. CALL
The ON SCHEMA fires the trigger only for _______ sessions. OWN
Created by: jxxnixx
 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards