Originally posted by ThomasSoerensen
View Post
Also try updating the stats for the tables and indexes before running your proc. As you have had a large data load, your indexes will be fragmented and your statistics likely to be out of date resulting in bad query plans. You may also need to recompile the procedure so that you do not use an old unrepresentative query plan.



Comment