<< Prev Question Next Question >>

Question 5/68

Background
You have a database named HR1 that includes a table named Employee.
You have several read-only, historical reports that contain regularly changing totals. The reports use multiple queries to estimate payroll expenses. The queries run concurrently. Users report that the payroll estimate reports do not always run. You must monitor the database to identify issues that prevent the reports from running.
You plan to deploy the application to a database server that supports other applications. You must minimize the amount of storage that the database requires.
Employee Table
You use the following Transact-SQL statements to create, configure, and populate the Employee table:

Application
You have an application that updates the Employees table. The application calls the following stored procedures simultaneously and asynchronously:
UspA: This stored procedure updates only the EmployeeStatus column.

UspB: This stored procedure updates only the EmployeePayRate column.

The application uses views to control access to data. Views must meet the following requirements:
Allow user access to all columns in the tables that the view accesses.

Restrict updates to only the rows that the view returns.

Exhibit

You are analyzing the performance of the database environment. You discover that locks that are held for a long period of time as the reports are generated.
You need to generate the reports more quickly. The database must not use additional resources.
What should you do?

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (68q)
Question 1: Note: This question is part of a series of questions that pr...
Question 2: Note: this question is part of a series of questions that us...
Question 3: Note: This question is part of a series of questions that us...
Question 4: You are creating the following two stored procedures: A nati...
Question 5: Background You have a database named HR1 that includes a tab...
Question 6: You are experiencing performance issues with the database se...
Question 7: Note: This question is part of a series of questions that pr...
Question 8: DRAG DROP Note: This question is part of a series of questio...
Question 9: Note: This question is part of a series of questions that pr...
Question 10: You run the following Transact-SQL following statement: (Exh...
Question 11: Note: this question is part of a series of questions that us...
Question 12: Note: This question is part of a series of questions that pr...
Question 13: Note: this question is part of a series of questions that us...
Question 14: Note: This question is part of a series of questions that pr...
Question 15: Note: This question is part of a series of questions that us...
Question 16: Note: This question is part of a series of questions that pr...
Question 17: Note: This question is part of a series of questions that pr...
Question 18: Note: this question is part of a series of questions that us...
Question 19: You have a database that is experiencing deadlock issues whe...
Question 20: You are developing a database reporting solution for a table...
Question 21: You have a view that includes an aggregate. You must be able...
Question 22: Note: This question is part of a series of questions that pr...
Question 23: Note: This question is part of a series of questions that pr...
Question 24: Note: This question is part of a series of questions that pr...
Question 25: You are experiencing performance issues with the database se...
Question 26: Note: This question is part of a series of questions that us...
Question 27: Note: This question is part of a series of questions that pr...
Question 28: Note: This question is part of a series of questions that pr...
Question 29: Note: this question is part of a series of questions that us...
Question 30: Note: This question is part of a series of questions that us...
Question 31: Note: This question is part of a series of questions that pr...
Question 32: Note: This question is part of a series of questions that us...
Question 33: Note: This question is part of a series of questions that pr...
Question 34: You have the following stored procedure that is called by ot...
Question 35: Note: This question is part of a series of questions that pr...
Question 36: Note: This question is part of a series of questions that pr...
Question 37: Note: this question is part of a series of questions that us...
Question 38: Note: This question is part of a series of questions that pr...
Question 39: Note: This question is part of a series of questions that us...
Question 40: Note: This question is part of a series of questions that pr...
Question 41: You are developing an application that connects to a databas...
Question 42: Note: This question is part of a series of questions that pr...
Question 43: You use Microsoft SQL Server Profile to evaluate a query nam...
Question 44: Note: This question is part of a series of questions that us...
1 commentQuestion 45: Note: This question is part of a series of questions that pr...
Question 46: You use Microsoft SQL Server Profile to evaluate a query nam...
Question 47: Note: This question is part of a series of questions that us...
Question 48: Note: This question is part of a series of questions that us...
Question 49: You suspect deadlocks on a database. Which two trace flags i...
Question 50: Note: This question is part of a series of questions that pr...
Question 51: Note: This question is part of a series of questions that pr...
Question 52: Note: This question is part of a series of questions that pr...
Question 53: Note: This question is part of a series of questions that pr...
Question 54: Note: This question is part of a series of questions that us...
Question 55: Note: The question is part of a series of questions that use...
Question 56: Note: This question is part of a series of questions that pr...
Question 57: You have a reporting application that uses a table named Tab...
Question 58: Note: This question is part of a series of questions that us...
Question 59: Note: The question is part of a series of questions that use...
Question 60: Note: This question is part of a series of questions that us...
Question 61: Note: This question is part of a series of questions that us...
Question 62: Note: this question is part of a series of questions that us...
Question 63: Note: This question is part of a series of questions that pr...
Question 64: HOTSPOT Note: This question is part of a series of questions...
Question 65: Note: The question is part of a series of questions that use...
Question 66: Note: This question is part of a series of questions that us...
Question 67: Note: This question is part of a series of questions that pr...
Question 68: Background You have a database named HR1 that includes a tab...