Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
PL/SQL Practice Quizzes Final Exam

PL/SQL Practice Quizzes Final Exam

Ratings: (0)|Views: 89 |Likes:
Published by meachamrob
PL/
SQL Practice Quizzes Final Exam
PL/
SQL Practice Quizzes Final Exam

More info:

Categories:Types, School Work
Published by: meachamrob on May 01, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/03/2013

pdf

text

original

 
Practice Quiz #7
Question 1 2.5 out of 2.5 pointsThe syntax below represents that of a(n) ____ trigger.CREATE [OR REPLACE] TRIGGER trigger_name [BEFORE, AFTER][List of DDL or Database System Events] [ON DATABASE |SCHEMA] Trigger body; Answer
Selected Answer: c. system
Question 2 2.5 out of 2.5 pointsIn the code fragment below, which of the followings represents the event that fires the trigger?CREATE OR REPLACE TRIGGER logon_trg AFTER logon ON SCHEMA BEGININSERT INTO bb_audit_logon VALUES (USER, SYSDATE);END; Answer
Selected Answer: a. logon
Question 3 2.5 out of 2.5 points Which of the following statements is correct? Answer
Selected Answer: b. A BEFORE statement level trigger will fire before a BEFORE row level trigger.
Question 4 2.5 out of 2.5 pointsThe statement ____ recompiles the trigger named sales_trg. Answer
Selected Answer: d. ALTER TRIGGER sales_trg COMPILE;
Question 5 2.5 out of 2.5 pointsDDL events include all of the following, except ____. Answer
Selected Answer: d. DECLARE
Question 6 2.5 out of 2.5 pointsIn the code fragment below, which of the following represents the qualifier?CURSOR basketitem_curISSELECT idproduct, quantity, option1FROM bb_basketitem WHERE idbasket = :NEW.idbasket;
 AnswerSelected Answer: d. :NEW.idbasket
Question 7 2.5 out of 2.5 points
 
 A(n) ____ performs tasks automatically when a DML action occurs on the table with which it isassociated. Answer
Selected Answer: d. database trigger
Question 8 2.5 out of 2.5 points All of the following would cause a trigger to fire, except ____. Answer
Selected Answer: a. BEFORE
Question 9 2.5 out of 2.5 points Which of the followings does NOT fire a trigger in a database? Answer
Selected Answer: b. TRUNCATE 
Question 10 2.5 out of 2.5 points A(n) ____________ fires whenever a DML, a DLL, or system event occurs on a schema or database. Answer
Selected Answer: b. database trigger 
Practice Quiz #8
Question 1 2.5 out of 2.5 points Which of the following statements is true? Answer
Selected Answer: b. If the definition of a referenced object is altered, dependentobjects may or may not continue to work properly.
Question 2 2.5 out of 2.5 pointsThe recompilation of dependent objects is successful if: Answer
Selected Answer: d. all of the above.
Question 3 2.5 out of 2.5 points Which of the following statements is true? Answer
Selected Answer: d. Modifications to a package body does not change the status of dependent objects.
Question 4 2.5 out of 2.5 points Which of the followings is used to recompile a PL/SQL function? Answer
Selected Answer: b. ALTER FUNCTION
Question 5 2.5 out of 2.5 points

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->