New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam 70-765 Topic 1 Question 5 Discussion

Actual exam question for Microsoft's 70-765 exam
Question #: 5
Topic #: 1
[All 70-765 Questions]

You administer a Microsoft SQL Server 2014 database that contains a table named OrderDetail.

You discover that the NCI_OrderDetail_CustomerID non-clustered index is fragmented. You need to reduce fragmentation. You need to achieve this goal without taking the index offline.

Which Transact-SQL batch should you use?

Show Suggested Answer Hide Answer
Suggested Answer: B

REORGANIZE specifies to reorganize the index leaf level. The REORGANIZE operation is always performed online. This means long-term blocking table locks are not held and queries or updates to the underlying table can continue during the ALTER INDEX REORGANIZE transaction.

References:https://docs.microsoft.com/en-us/sql/t-sql/statements/alter-index-transact-sql


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel