1.

Which of the following query can enable all indexes on Employee table?(a) DBCC DBREINDEX (“Employee”, ” “);(b) DBCC DBREINDEX (“EMP”, ” “);(c) DBCC DBREINDEX (“HumanResources.Employee”, “ALL”);(d) None of the mentionedI got this question by my college professor while I was bunking the class.The query is from Indexing Strategies in section Performance Tuning and Optimization of SQL Server

Answer»

The correct choice is (a) DBCC DBREINDEX (“EMPLOYEE”, ” “);

To ELABORATE: DBCC DBREINDEX can enable all INDEXES for a table in the SPECIFIED DATABASE.



Discussion

No Comment Found

Related InterviewSolutions