Hello, I "Google'd" across this as I was pondering a solution to this problem and think it solves it nicely but it is limited to only 100 recursions. I...
Thanks much for the info. I tried both versions on production data and found the row_number to be much faster, which took a second to run compared to 14...