adplus-dvertising
frame-decoration

Question

Which of the following code snippet demonstrates ALTER statement with STATISTICS_NORECOMPUTE in ONLINE state?

a.

ALTER INDEX ALL ON Production.Product
REBUILD WITH (FILLFACTOR = 100, SORT_IN_TEMPDB = ON,
STATISTICS_RECOMPUTE = ON);

b.

ALTER INDEX ALL ON Production.Product
REBUILD WITH (FILLFACTOR = 80, SORT_IN_TEMPDB = ON,
STATISTICS_NORECOMPUTE = ON);

c.

ALTER INDEX ALL ON Production.Product
BUILD WITH (FILLFACTOR = 80, SORT_IN_TEMPDB = ON,
STATISTICS_NORECOMPUTE = ON);

d.

All of the mentioned

Posted under SQL Server

Answer: (b).ALTER INDEX ALL ON Production.Product
REBUILD WITH (FILLFACTOR = 80, SORT_IN_TEMPDB = ON,
STATISTICS_NORECOMPUTE = ON);

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 code snippet demonstrates ALTER statement with STATISTICS_NORECOMPUTE in ONLINE state?

Similar Questions

Discover Related MCQs

Q. Which of the following query is used to enable a disabled index using CREATE INDEX?

Q. Point out the correct statement.

Q. Which of the following query enables the IX_Employee_OrganizationLevel_OrganizationNode index on the Employee table?

Q. Which of the following query can enable all indexes on Employee table?

Q. Point out the wrong statement.

Q. Which of the following query disables all the indexes on Employee table?

Q. Which of the following index operations require no additional disk space?

Q. Which of the following index operation require additional disk space?

Q. The SORT_IN_TEMPDB option cannot be set for ________ statements.

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

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.