题目
题目

COMP90050_2025_SM2 Quiz 3

单项选择题

Why do we use nested transactions?

选项
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.
查看解析

查看解析

标准答案
Please login to view
思路分析
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 explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!