Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Concatenate o/p of two select statements - response (15) by jodba

$
0
0

Hi Mahesh,
 
I would suggest using ROW_NUMBER() instead of RANK() and change the recursive UNION ALL WHERE clause to:
...
WHERE

  RSLT.RN1 + 1 = B.RN1

 
 
Best Regards,
Igor


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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