QuestionQ53
VerifiedDesign and develop database solutionsYou have a SQL database in Microsoft Fabric that contains a table named dbo.Orders.
dbo.Ordershas a clustered index.- It contains three years of data.
- It is partitioned by a column named
OrderDateby month.
You need to remove all rows for the oldest month. The solution must minimize the impact on other queries that access the data in dbo.Orders.
Solution: Determine the partition scheme for the oldest month, then execute the following Transact-SQL statement.
ALTER TABLE dbo.Orders -
DROP PARTITION SCHEME (partition_scheme_name);
Does this achieve the goal?
Community Discussion