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 -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -