Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

SQL Workaround - response (7) by kelvsdotph

$
0
0

Yes, Dieter, that's what I need to test now - to see if the rewrite did change the resultsets.  I do found out that there are joins to NUPI columns and count of distinct is around 30% less than the count of the records.  So I tend to do a subquery to distinct this column first and use this for joining, hope this could help lower the processing.  I tried to maintain the join columns as the original query except for this one, but then again, i'm crossing my fingers right now.


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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