Which action should you take?

You are a database developer on an instance of SQL Server 2008. Your database contains the SalesHeader and SalesDetail tables as shown:


The SalesHeader and SalesDetail tables both contain millions of rows.
You execute the following query against the tables:
SELECT ProductID, SpecialOfferID
FROM SalesDetail d
INNER JOIN SalesHeader h ON d.SalesOrderID = h.SalesOrderID
WHERE SpecialOfferID = 5;
The query execution plan is displayed as follows:


Which action should you take?
A. Create a partitioned view over the table and use it in the query.
B. Create a nonclustered index on the SpecialOfferID column of the SalesDetail table.
C. Implement page-level compression for the SalesDetail table.
D. Rebuild statistics for both tables.

microsoft-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.