adplus-dvertising
frame-decoration

Question

Which of the following query will disable the index on Employee table?

a.

ALTER INDEX IX_Employee_OrganizationLevel_OrganizationNode Employee
DISABLE;

b.

ALTER INDEX IX_Employee_OrganizationLevel_OrganizationNode ON HumanResources
DISABLE;

c.

CREATE INDEX IX_Employee_OrganizationLevel_OrganizationNode ON HumanResources.Employee
DISABLE;

d.

None of the mentioned

Posted under SQL Server

Answer: (a).ALTER INDEX IX_Employee_OrganizationLevel_OrganizationNode Employee
DISABLE;

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following query will disable the index on Employee table?

Similar Questions

Discover Related MCQs

Q. The use of parameters, including parameter markers in _______ applications, can increase the reuse of execution plans.

Q. Point out the correct statement.

Q. Use to bind an integer variable to the first parameter marker in an SQL statement.

Q. Which of the following query cannot be parameterized according to the rules of forced parameterization?

Q. Point out the wrong statement.

Q. Which of the following SQL Server SQL Statistics counter represents number of auto-parameterization attempts per second?

Q. The maximum size for all caches is a function of the ________ size.

Q. The conditions that invalidate a plan include which of the following?

Q. What is the syntax for DBCC FREEPROCCACHE with all the optional parameters in T-SQL?

Q. _________ uniquely identifies a query plan for a batch that has executed and whose plan resides in the plan cache.

Q. The INSERT, UPDATE, or DELETE statement fails if the OLE DB provider used to access the linked server does not support the _________ interface.

Q. Point out the correct statement.

Q. __________ marks the end of a successful implicit or explicit transaction.

Q. What is the syntax for COMMIT WORK statement in transaction?

Q. Point out the wrong statement.

Q. ____________ rolls back a user-specified transaction to the beginning of the transaction.

Q. Which of the following is valid syntax for SAVE TRANSACTION with all the optional parameters?

Q. In _______ transaction we include the DML statements that need to be executed as a unit.

Q. _________ permissions default to any valid user.

Q. If @@TRANCOUNT is 1 ________ makes all data modifications performed since the start of the transaction a permanent part of the database.