I need help solving a performance problem related to a recursive function in sql server. I have a table of tasks for items, each of which have a lead time. My function rec