I often encounter queries that have fallen victim to parameter sniffing during my day to day activities. While the long term resolution for these types of problems often involves query modifications or the use of plan guides, a short term fix may involve forcing the recompilation of the query or procedure.
read moreThere are comments.