Questions
COMP90050_2025_SM2 Quiz 3
Single choice
Why do we use nested transactions?
Options
A.Because many transactions have subcomponents that may fail and alternate decisions can be made about them rather than throwing away all the work of the whole transaction.
B.Because many transactions use nested loop join types and thus writing transactions this way makes optimisation easier.
C.Because many transactions can take locks easily
D.Because many transactions are written by different people and each programmer writes one part of it.
View Explanation
Verified Answer
Please login to view
Step-by-Step Analysis
Question: Why do we use nested transactions?
Option 1: 'Because many transactions have subcomponents that may fail and alternate decisions can be made about them rather than throwing away all the work of the whole transaction.' This is correct. Nested transactions allow partial commits or rollbacks within subcomponents, so if a subcomponent encounters an issue, you can roll back only that part without disc......Login to view full explanationLog in for full answers
We've collected over 50,000 authentic exam questions and detailed explanations from around the globe. Log in now and get instant access to the answers!
Similar Questions
Question at position 45 If the transaction is completely isolated, only deleting rows is allowed.TrueFalse
Question at position 11 A business transaction requires:several actions against the database.a trigger.a stored procedure.human intervention.
Question at position 8 A business transaction requires:human intervention.a stored procedure.a trigger.several actions against the database.
Question at position 28 A transaction is considered isolated when:it can only be run on one server.any changes in the database are not revealed to the user until the transaction is complete.users can see changes to tables before the transaction is complete.it runs in a vacuum.
More Practical Tools for Students Powered by AI Study Helper
Making Your Study Simpler
Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!