70-432 · Question #189
You administer a SQL Server 2008 instance that contains a database named AdventureWorks. You plan to use data compression to conserve disk space. You compress a table named VeryLarge that has a…
The correct answer is C. ALTER INDEX Index1 ON VeryLarge REBUILD WITH (DATA_COMPRESSION = ROW). See the full explanation below for the reasoning.
Question
You administer a SQL Server 2008 instance that contains a database named AdventureWorks. You plan to use data compression to conserve disk space. You compress a table named VeryLarge that has a clustered index named Index1 and a non- clustered index named Index2. Both indexes are partitioned. You execute the following Transact-SQL statement. ALTER INDEX Index2 ON VeryLarge REBUILD WITH (DATA_COMPRESSION = ROW); You need to ensure that all the indexes of the VeryLarge table are compressed by using row-level compression. You need to accomplish this goal by using minimum resources. Which Transact-SQL statement should you execute?
Options
- AALTER INDEX ALL ON VeryLarge REBUILD PARTITION=ALL WITH
- BALTER INDEX ALL ON VeryLarge REBUILD WITH (DATA_COMPRESSION = ROW);
- CALTER INDEX Index1 ON VeryLarge REBUILD WITH (DATA_COMPRESSION = ROW);
- DALTER INDEX Index1 ON VeryLarge REORGANIZE WITH (LOB_ COMPACTION = ON);
How the community answered
(43 responses)- A14% (6)
- B9% (4)
- C72% (31)
- D5% (2)
Community Discussion
No community discussion yet for this question.