adplus-dvertising
frame-decoration

Question

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

a.

An explicit call to sp_compile

b.

Executing a stored procedure using the WITH COMPILE option

c.

Changes made to a table or view referenced by the query

d.

All of the mentioned

Posted under SQL Server

Answer: (c).Changes made to a table or view referenced by the query

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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.

Q. Which of the following argument is ignored by database engine in COMMIT TRANSACTION?

Q. Point out the correct statement.

Q. ____________ is the preferred statement for indicating errors in the transaction.

Q. Which of the following query deletes a job candidate?

Q. Point out the wrong statement.

Q. A ROLLBACK TRANSACTION statement specifying a savepoint_name releases any locks that are acquired beyond the savepoint, with the exception of __________

Q. What is the fundamental difference between COMMIT and COMMIT WORK?

Q. Implicit transactions are maintained by SQL Server for ___________