Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 20764

Report Builder: Query takes much longer with parameters than with constant value

$
0
0

I'm running a query that uses an ID as input paramter.

If I write a hard wired value in the query it takes about 30 seconds. If I pass the same value as a parameter to the SQL it runs about 4 minutes and then I get a gateway timeout.

Has anybody had a similar issue. Any idea how to solve this?

Any hint is very much apreciated.


Viewing all articles
Browse latest Browse all 20764

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>