Does updating statistics recompile stored procedures in sql server -


does updating statistics recompile stored procedures in sql server or after updating statistics( auto or manual) procedures run same execution plan first compiled with?

msdn has lengthy article on that. sum up:

therefore, plan optimality-related reasons have close association statistics.

looks depends on how statistics changed. updating statistics may lead recompile not have to. force removal of cached query plans, you can run:

dbcc freeproccache 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -