Question
a.
EXEC sp_estimate_compression_savings 'Production', 'TransactionHistory', NULL, NULL, 'ROW' ;
ALTER TABLE Production.TransactionHistory REBUILD PARTITION = ALL
WITH (DATA_COMPRESSION = ROW);
b.
EXEC sp_estimate_compression_savings 'Production', 'TransactionHistory', NULL, NULL, 'ROW' ;
ALTER TABLE Production.TransactionHistory REBUILD PARTITION = ALL
WITH (DATA_COMPRESSION = ROW);
c.
EXEC sp_estimate_compression_savings 'Production', 'TransactionHistory', NULL, NULL, 'ROW' ;
ALTER TABLE Production.TransactionHistory BUILD PARTITION = ALL
WITH (DATA_COMPRESSION = ROW);
d.
EXEC sp_estimate_compression 'Production', 'TransactionHistory', NULL, NULL, 'ROW' ;
ALTER TABLE Production.TransactionHistory REBUILD PARTITION = ALL
WITH (DATA_COMPRESSION = ROW);
Posted under SQL Server
ALTER TABLE Production.TransactionHistory REBUILD PARTITION = ALL
WITH (DATA_COMPRESSION = ROW);
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following code is used to enable compression on a table?
Similar Questions
Discover Related MCQs
Q. sp_estimate_data_compression_savings requires ______ permission on the table.
View solution
Q. Which of the following query estimates the size of the Production.WorkOrderRouting table if it is compressed by using ROW compression?
View solution
Q. SQL Server 2014 supports up to ________ partitions by default.
View solution
Q. Point out the correct statement.
View solution
Q. __________ is a database object that defines how the rows of a table or index are mapped to a set of partitions based on the values of certain column.
View solution
Q. Designing an nonaligned partitioned index can be useful in the following case?
View solution
Q. Point out the wrong statement.
View solution
Q. At least _______ of RAM is recommended if a large number of partitions are in use.
View solution
Q. With a larger number of partitions, ______ commands could take longer to execute as the number of partitions increases.
View solution
Q. SQL Server 2008 provides enhanced partitioning information for __________ execution plans.
View solution
Q. Which of the following partitioned attribute can appear in the following physical and logical operators?
View solution
Q. The query processor uses a __________ execution strategy for queries that select from partitioned objects.
View solution
Q. Resource Governor is a feature that enables you to specify limits on the amount of ____________
View solution
Q. Point out the correct statement.
View solution
Q. You cannot use the ____________ statement to enable Resource Governor when in a user transaction.
View solution
Q. Enabling the Resource Governor requires _________ permission.
View solution
Q. Point out the wrong statement.
View solution
Q. Which of the following query enables the Resource Governor?
View solution
Q. Which of the following query disables the resource governor?
View solution
Q. ____________ is a hard cap limit on the CPU bandwidth for all requests in the resource pool.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond SQL Server? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!