Strange problem with SQL Server procedure execution plan
问题 I was wondering if you guys could help me get to the bottom of a weird problem I have recently had on SQL Server. I have a stored procedure (lets call SPold ) which is reasonably large with a lot of calculations (can't possibly do this in app as info for around 6000 users needs to come back in a one-er (I reduce this to 1000 based on Surname)). The stored procedure usually executes in a couple of seconds, and is called once every couple of minutes. Now this morning, the stored procedure was