CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 75: 70-461: MCSA Querying Microsoft SQL Server 2012/2014

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?

Nội dung câu hỏi

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?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. SET XACT_ABORT ON — đáp án hiện tại
  2. B. SET ARITHABORT ON
  3. C. TRY
  4. D. BEGIN
  5. E. SET ARITHABORT OFF
  6. F. SET XACT_ABORT OFF

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề