Hi,
One of our reporting Stored Procedures runs fine (1 sec) when run from SQL QA, but when it is invoked from application, it takes 10 mins to finish and frequently times out. The activity monitor shows a PAGEIOLATCH_SH in waittype.. any idea why this is happening?
Thanks