Which action should you take?

You are a database developer on an instance of SQL Server 2008 named Srv1. You need to define a stored procedure that will be used by one of your applications. The stored procedure executes multiple DML statements to perform several table updates.
You want to ensure that SQL Server never caches query execution plans when executing this stored procedure.
Which action should you take?
A. Create the stored procedure with schema binding.
B. Call the sp_recompile system stored procedure.
C. Include the WITH RECOMPILE option when creating the stored procedure.
D. Use the RECOMPILE query hint within the stored procedure.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.