单项选择题

UserAexecutesthefollowingcommandtoupdatetheTRANStable)SQL>UPDATEB.transSETtr_amt=tr_amt+500WHEREc_code=’C005’;BeforeuserAissuesaCOMMITorROLLBACKcommand,userBexecutesthefollowingcommandontheTRANStable:SQl>ALTERTABLEtransMODIFY(tr_typeVARCHAR2(3));Whatwouldhappeninthisscenario?()
A.ThetransactionforuserAisrolledback.
B.TheALTERTABLEcommandmodifiesthecolumnsuccessfully.
C.TheALTERTABLEcommandfailsduetotheresourcebeingbusy.
D.TheALTERTABLEcommandwaitsuntiluserAendsthetransaction.

A.transSETtr_amt=tr_amt+500WHEREc_code=’C005’;BeforeuserAissuesaCOMMITorROLLBACKcommand,userBexecutesthefollowingcommandontheTRANStable:SQl>ALTERTABLEtransMODIFY(tr_typeVARCHAR2(3));Whatwouldhappeninthisscenario?()
A.ThetransactionforuserAisrolledback.
B.TheALTERTABLEcommandmodifiesthecolumnsuccessfully.
C.TheALTERTABLEcommandfailsduetotheresourcebeingbusy.
D.TheALTERTABLEcommandwaitsuntiluserAendsthetransaction.
热门 试题

单项选择题