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
9Activity
0 of .
Results for:
No results containing your search query
P. 1
Managing Triggers

Managing Triggers

Ratings: (0)|Views: 761 |Likes:
Published by Catalina Achim

More info:

Published by: Catalina Achim on May 27, 2012
Copyright:Attribution Non-commercial

Availability:

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

06/10/2013

pdf

text

original

 
Test:Quiz:ManagingTriggers1.Whichcommandwouldyouusetoseeifyourtriggersareenabledordisabled? MarkforReview(1)PointsSELECTtrigger_name,statusFROMUSER_TRIGGERS;(*)SELECTobject_name,statusFROMUSER_OBJECTSWHEREobject_type='TRIGGER';SELECTtrigger_name,trigger_typeFROMUSER_TRIGGERS;DESCRIBETRIGGERCorrect2.Whichdictionaryviewwouldyouquerytoseethedetailedbodycodeoftriggersinyourschema? MarkforReview(1)PointsUSER_SOURCEUSER_TRIGGERUSER_TRIGGERS(*)USER_OBJECTSNoneoftheabove,youcannotviewthecodeofthetriggerbodyafterthetriggerhasbeencreated.Incorrect.RefertoSection13Lesson5.3.Bydefault,anyusercancreateaDMLtriggeronatableinhis/herschema.TrueorFalse? MarkforReview(1)PointsTrue
 
False(*)Incorrect.RefertoSection13Lesson5.4.UserKULJITcreatestwotriggersnamedEMP1_TRIGGandEMP2_TRIGG,whicharebothDMLtriggersreferencingherEMPLOYEEStable.Kuljitnowwantstoremovebothofthesetriggersfromthedatabase.Whatcommand(s)shouldKuljitusetodothis? MarkforReview(1)PointsDROPALLTRIGGERSONemployees;DROPTRIGGERSONemployees;DROPTRIGGERemp1_trigg;DROPTRIGGERemp2_trigg;(*)DROPTRIGGERemp1_triggANDemp2_trigg;Correct5.Ausercreatesthefollowingtrigger:CREATEORREPLACETRIGGERemp_triggAFTERDELETEONemployeesBEGIN...END;TheusernowtriestodroptheEMPLOYEEStable.Whathappens?MarkforReview(1)PointsThetableisdroppedbutthetriggerisnotdropped.Anerrormessageisdisplayedbecauseyoucannotdropatablethatisreferencedbyatrigger.Thetableisdroppedandthetriggerisdisabled.Boththetableandthetriggeraredropped.(*)Incorrect.RefertoSection13Lesson5.

Activity (9)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Silvia Florea liked this
Lucian Claudiu liked this
Andreea Tirnacop liked this
Nadira Đogić liked this
Adda Andreea liked this
Imrich Dúdor liked this

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)//-->