What should you change Proc1 to do?

Correct Answer for the following Question is given below

You have a database named Database1. Database1 has two stored procedures named Proc1 and Proc2 and a table named Table1. Table1 has millions of rows.Proc1 updates data in Table1. Proc2 reads data from Table1.You discover that when Proc1 is executed to update more than 4,000 rows, Proc2 is blocked. The block affects all rows, including those that are not being updated by Proc1. You need to ensure that when Proc1 is executing, Proc2 can access the data in Table1 that Proc1 is not updating.What should you change Proc1 to do?More than one answer choice may achieve the goal. Select the BEST answer.

Question:

What should you change Proc1 to do?

Options:

Update less than 4,000 rows simultaneously.

Use the PAGLOCK table hint.

Wait for Proc2 to complete.

Use the ROWLOCK table hint.

Correct Answer

The Correct Answer for this Question is

Update less than 4,000 rows simultaneously.

Explanation

The Question – What should you change Proc1 to do? has been answered correctly and answers for the question is Update less than 4,000 rows simultaneously.

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

Leave a Comment