Câu 42: 70-464: Developing Microsoft SQL Server 2012/2014 Databases
You have a Microsoft SQL Azure database. You have the following stored procedure: You discover that the stored procedure periodically fails to update HR.Employees. You need to ensure that HR. Employees is always updated when up_employees executes. The solution must minimize the amount of time required for the stored p…
Nội dung câu hỏi
You have a Microsoft SQL Azure database. You have the following stored procedure: You discover that the stored procedure periodically fails to update HR.Employees. You need to ensure that HR. Employees is always updated when up_employees executes. The solution must minimize the amount of time required for the stored procedure to execute and the number of locks held. What should you do?
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.
- A. Add the following line of code to line 05: SET TRANSACTION ISOLATION LEVEL SNAPSHOT
- B. Add the following line of code to line 13: WITH (UPDLOCK)
- C. Add the following line of code to line 05: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
- D. Add the following line of code to line 08: WITH (UPDLOCK) — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.