InterviewSolution
Saved Bookmarks
| 1. |
Which of the following command defragments clustered and secondary indexes of the specified table?(a) DBCC SHOWCONTIG(b) DBCC CHECKDB(c) DBCC CATALOG(d) DBCC INDEXDEFRAGThis question was posed to me in semester exam.Query is from Database Maintenance in division Enterprise Data Management of SQL Server |
|
Answer» CORRECT OPTION is (d) DBCC INDEXDEFRAG To explain I would say: DBCC INDEXDEFRAG is an online operation, so it does not HOLD long-term locks that can block running queries or UPDATES. |
|