DP-800 Web TestEngine demo

Exit VCEDump DP-800 Developing AI-Enabled Database Solutions
Question 5 of 14
0% complete
Q5 Single choice

You have a SQL database in Microsoft Fabric that contains a table named dbo.Orders, dbo.Orders has a clustered index, contains three years of data, and is partitioned by a column named OrderDate by month.

You need to remove all the rows for the oldest month.

The solution must minimize the impact on other queries that access the data in dbo.orders.

Solution:
Identify the partition number for the oldest month, and then run the following Transact-SQL statement.
TRUNCATE TABIE dbo.Orders WITH (PARTITIONS (partition number)); Does this meet the goal?

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in