What should you do?

You are responsible for maintaining a SQL Server 2005 database. Business analysts in the company routinely use a view named v_CusMikeerSales to join the CusMikeers and Sales tables in the database.
They use the view to aggregate total sales by cusMikeer by month. You need to increase the performance of the view. What should you do?

You are responsible for maintaining a SQL Server 2005 database. Business analysts in the company routinely use a view named v_CusMikeerSales to join the CusMikeers and Sales tables in the database.
They use the view to aggregate total sales by cusMikeer by month. You need to increase the performance of the view. What should you do?

A.
Update the view to use an outer join between the CusMikeers and Sales tables.

B.
Create a clustered index on the v_CusMikeerSales view.

C.
Create two separate views that do not contain any joinsone view named v_CusMikeers for the CusMikeers table and another one named v_Sales for the Sales table.

D.
Create a stored procedure for the business analysts that uses the v_CusMikeerSales view.



Leave a Reply 0

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