Fast query runs slow in SSRS

前端 未结 17 940
粉色の甜心
粉色の甜心 2020-11-28 23:53

I have an SSRS report that calls out to a stored procedure. If I run the stored procedure directly from a query window, it will return in under 2 seconds. However, the sam

17条回答
  •  温柔的废话
    2020-11-29 00:41

    In my case, I just had to disconnect and connect the SSMS. I profiled the query and the duration of execution was showing 1 minute even though the query itself runs under 2 seconds. Restarted the connection and ran again, this time the duration showed the correct execution time.

提交回复
热议问题