Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: optimize union in ase query

$
0
0

I think following 2 SARG are culprit in query 3 and 4.

 

And F.TableName = 'S' --F is Secdeal

And B.TableName = '5' --b is SecSelBuyBck

 

If there are no proper stats on these columns it must be using default 10% and which might not be correct


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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