January 24, 2016 at 12:39 am
Hello,
Thank you very much for your help. I appreciate it. Will this have the CTE recursion limit? For now The data sets are small, but we may get larger files.
Thanks again for your help.
January 24, 2016 at 3:07 am
mishka-723908 (1/24/2016)
Will this have the CTE recursion limit?
The solution Jeff posted uses CTE's, but no recursive CTE's. So no, it does not have a recursion limit. And it is known to be a solution that scales very well, especially if your table has a supporting index so that it can calculate the running totals without sorting. (Which you can see in the execution plan)
January 24, 2016 at 8:12 pm
Thank you Jeff and thank you all very much, I will try this out tomorrow once I am back in the office.
January 30, 2016 at 4:08 pm
mishka-723908 (1/24/2016)
Thank you Jeff and thank you all very much, I will try this out tomorrow once I am back in the office.
How'd it go?
--Jeff Moden
Change is inevitable... Change for the better is not.
February 1, 2016 at 5:04 pm
Hello,
This worked great. Last Friday I was able to get this working on our system.
Thank you very much for your help.
Viewing 5 posts - 16 through 19 (of 19 total)
You must be logged in to reply to this topic. Login to reply