Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Procedure Execution Plan

Author  Topic 

ddamico
Yak Posting Veteran

76 Posts

Posted - 2012-01-17 : 08:43:19
Good day. I have a question regarding a procedures execution plan. If a procedure is dropped does that clear its execution plan from the procedure cache? Or do I have to clear the procedure cache myself in order to make use of a new index? Thanks.

Dan

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2012-01-17 : 08:50:54
drop and recreate will cause sql server to make a new plan.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

ddamico
Yak Posting Veteran

76 Posts

Posted - 2012-01-17 : 09:24:05
Thank you.
Go to Top of Page
   

- Advertisement -