Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 12890

Query performance tuning

$
0
0

Hello,

Can someone please tell me if there is anyway to improve this query to perform better.I tried using temp table instead of CTE .it did'nt change anything.I think there is a problem with latter part of query.When I execute every select individually they run faster.This query is taking hours to execute and is taking all the CPU .

lucky


lucky





Viewing all articles
Browse latest Browse all 12890

Trending Articles



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