Which action should you take?

You are a database developer on an instance of SQL Server 2008. You have a database that contains a large table named InvTransaction.
The InvTransaction table contains historical data on inventory transactions that previously occurred. The table is queried occasionally and used to produce monthly reports, but is very rarely modified.
The InvTransaction table is defined as follows:


The InvTransaction table contains millions of rows, and has the following additional characteristics:
• A clustered index exists on the TranID column.
• The LocationID column for most transactions has a value of 1.
• The TranType column for most transactions has a value of ‘T1’.
• Each BinID column has a bin value between 1 and 100 because there are a maximum of 100 bins for each location.
• Most of the TranDetails column values have similar descriptions.
You want to minimize the amount of storage used by the table, but not directly modify any of the table’s columns.
Which action should you take?
A. Implement sparse columns for the LocationID, TranType, and BinID columns.
B. Set the text in row option to OFF for the InvTransaction table.
C. Issue the ALTER TABLE REBUILD statement with the DATA_COMPRESSION=PAGE option for the InvTransaction table.
D. Issue the ALTER TABLE REBUILD statement with the DATA_COMPRESSION=ROW option for the InvTransaction table.

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.