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

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -