nerdexam
Microsoft

70-451 · Question #124

70-451 Question #124: Real Exam Question with Answer & Explanation

Sign in or unlock 70-451 to reveal the answer and full explanation for question #124. The question stem and answer options stay visible for context.

Question

You are a database developer. You develop a database by using SQL Server 2008 in an enterprise environment. The database has a table named Sales.Inventory. The table is partitioned into four geographic regions. You update the Sales.Inventory table for each region by using the following stored procedure. CREATE STORED PROCEDURE usp_Update @RegionID tinyint AS UPDATE Sales.Inventory SET Qty = T.CurrentQuantity FROM Sales.Inventory I JOIN Sales.TempData T ON I.ItemID = T.ItemID AND I.RegionID = @RegionID; The UPDATE statement locks the Sales.Inventory table when a single region is updated. You need to prevent the locking of the Sales.Inventory table when a single region is updated. What should you do?

Options

  • AModify the usp_Update stored procedure to use the NOLOCK table hint for the UPDATE
  • BModify the usp_Update stored procedure to use the SERIALIZABLE table hint for the
  • CRun the following Transact-SQL statement.
  • DRun the following Transact-SQL statement.

Unlock 70-451 to see the answer

You've previewed enough free 70-451 questions. Unlock 70-451 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.

Full 70-451 Practice