PrepAway - Latest Free Exam Questions & Answers

Does the solution meet the goal?

Note: This question is part of a series of questions that present the same scenario. Each question in this series
contains a unique solution. Determine whether the solution meets the stated goals.
You are developing a new application that uses a stored procedure. The stored procedure inserts thousands of
records as a single batch into the Employees table.
Users report that the application response time has worsened since the stored procedure was updated. You
examine disk-related performance counters for the Microsoft SQL Server instance and observe several high
values that include a disk performance issue. You examine wait statistics and observe an unusually high
WRITELOG value.
You need to improve the application response time.
Solution: You replace the stored procedure with a user-defined function.
Does the solution meet the goal?

PrepAway - Latest Free Exam Questions & Answers

A.
Yes

B.
No

Explanation:
https://msdn.microsoft.com/en-us/library/ms345075.aspx

One Comment on “Does the solution meet the goal?

  1. 113 says:

    correct, Function allows only select statement in it, so it cannot replace a stored procedure that ” inserts thousands of records as a single batch into the Employees table.”




    12



    0

Leave a Reply