Home Forums SQL Server 2008 T-SQL (SS2K8) Sp runs from 7 sec to 10 min (UnitPricingTrans) RE: Sp runs from 7 sec to 10 min (UnitPricingTrans)
RVO
SSCertifiable
Points: 5495
More actions
November 4, 2013 at 8:50 am
#1663854
Guys, I am so thankful for your help.
I think parameter sniffing is definitely might be the root cause.
I am rewriting procedure now to use local variables.
Will let you know on the outcome results soon.