单项选择题
OneoftheusersinthePRODdatabase,Adams,complainsthathisupdateonthetable,TRANS,istakinganunusuallylongtimetocomplete.YoufindthatthetablegetslockedbyanotherdatabaseuserbeforeAdamsstartshistransactions,andyouareunabletocontacttheuserholdingthetablelock.AsAdamsisupdatingsomecrucialrowsinthetable,heshouldgetthehighestpriority.Whichmethodwouldyouusetoovercomethisproblem?()
A.executethecommand,ALTERSESSIONKILL..,tokilltheblockingsession
B.executetheDBMS_SESSION.KILL_SESSIONproceduretokilltheblockingsession
C.executethecommand,ALTERSYSTEMKILLSESSION..,tokilltheblockingsession
D.executethecommand,ALTERSESSIONUNLOCK..,toreleasethelockfortheblockingsession
E.executethecommand,ALTERSYSTEMUNLOCKSESSION..,toreleasethelockfortheblockingsession
A.YoufindthatthetablegetslockedbyanotherdatabaseuserbeforeAdamsstartshistransactions,andyouareunabletocontacttheuserholdingthetablelock.AsAdamsisupdatingsomecrucialrowsinthetable,heshouldgetthehighestpriority.Whichmethodwouldyouusetoovercomethisproblem?()
A.executethecommand,ALTERSESSIONKILL..,tokilltheblockingsession
B.executetheDBMS_SESSION.KILL_SESSIONproceduretokilltheblockingsession
C.executethecommand,ALTERSYSTEMKILLSESSION..,tokilltheblockingsession
D.executethecommand,ALTERSESSIONUNLOCK..,toreleasethelockfortheblockingsession
E.executethecommand,ALTERSYSTEMUNLOCKSESSION..,toreleasethelockfortheblockingsession