So, we\'ve got this set of code that, for some reason, keeps timing out. It\'s not the stored procedure that it\'s running, because that runs fine. Also, if we remove the para
setting arithabort off made the sp take 45 seconds as opposed to 1. setting it back on changed it back to 1. I updated the stored procedure to set it on, no change in the app. Changed it to off, no change. I then removed the update and then the app worked fine.
I believe what happened is that updating the stored procedure caused it to recompile, fixing the issue. I'm not 100% sure on this though.