Microsoft
70-433 · Question #45
You work as a network database administrator at ABC.com. ABC.com has a database server named ABC-DB01 that hosts the Inventory database. You need to use an explicit transaction to execute a number…
The correct answer is D. By making use of the XACT_ABORT option. See the full explanation below for the reasoning.
Question
You work as a network database administrator at ABC.com. ABC.com has a database server named ABC-DB01 that hosts the Inventory database. You need to use an explicit transaction to execute a number of UPDATE statements that modifies existing data in the Inventory database. How would you be able to roll back changes if the transaction is unsuccessful?
Options
- ABy making use of the INSTEAD OF DELETE trigger.
- BBy making use of the EXECUTE AS OWNER function.
- CBy making use of the INSTEAD OF INSERT trigger.
- DBy making use of the XACT_ABORT option.
How the community answered
(23 responses)- A9% (2)
- B13% (3)
- C4% (1)
- D74% (17)
Community Discussion
No community discussion yet for this question.