QuestionQ83
VerifiedSecure, optimize, and deploy 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: Execute the following Transact-SQL statement.
TRUNCATE TABLE dbo.Orders;
Does this accomplish the goal?
Community Discussion