Fast query runs slow in SSRS

前端 未结 17 947
粉色の甜心
粉色の甜心 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条回答
  •  萌比男神i
    2020-11-29 00:31

    I will add that I had the same problem with a non-stored procedure query - just a plain select statement. To fix it, I declared a variable within the dataset SQL statement and set it equal to the SSRS parameter.

    What an annoying workaround! Still, thank you all for getting me close to the answer!

提交回复
热议问题