Microsoft
70-457 · Question #10
70-457 Question #10: Real Exam Question with Answer & Explanation
Sign in or unlock 70-457 to reveal the answer and full explanation for question #10. The question stem and answer options stay visible for context.
Question
You create a stored procedure that will update multiple tables within a transaction. You need to ensure that if the stored procedure raises a run-time error, the entire transaction is terminated and rolled back. Which Transact-SQL statement should you include at the beginning of the stored procedure?
Options
- ASET XACT_ABORT ON
- BSET ARITHABORT ON
- CTRY
- DBEGIN
- ESET ARITHABORT OFF
- FSET XACT_ABORT OFF
Unlock 70-457 to see the answer
You've previewed enough free 70-457 questions. Unlock 70-457 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.