$ 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
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