Month End Sale Special Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: CFsave75

Microsoft Developing AI-Enabled Database Solutions DP-800 Question # 7 Topic 1 Discussion

Microsoft Developing AI-Enabled Database Solutions DP-800 Question # 7 Topic 1 Discussion

DP-800 Exam Topic 1 Question 7 Discussion:
Question #: 7
Topic #: 1

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?


A.

Yes


B.

No


Get Premium DP-800 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.