Pre-Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Microsoft Developing AI-Enabled Database Solutions DP-800 Question # 11 Topic 2 Discussion

Microsoft Developing AI-Enabled Database Solutions DP-800 Question # 11 Topic 2 Discussion

DP-800 Exam Topic 2 Question 11 Discussion:
Question #: 11
Topic #: 2

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: Run the following Transact-SQL statement.

DELETE FROM dbo.Orders

WHERE OrderDate < DATEADD(nonth, -36, SYSUTCDATETIME());

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.