James Hawkins wrote:
Is there anything wrong with this patch? It fixes bug 6379. msdn is not specific about which order the events in the ControlEvent table are executed, greatest to least or vice versa.
It might be better to store the results in a list instead of using recursion. Though recursion is a "neat" solution, it's possible to overrun the bounds of the stack on a big data set.
Mike