• Hey Jon,

    I dont think I'd call this ludicrous. Unusual maybe! Typically I'd look to solve any problem with a set based solution first, then move to a cursor as a last resort.

    I'd guess that you actually dont take a really bad performance hit on this, especially if the concurrency is low. Any solution has to take into account how much it will be used - if you called this one once a day or whatever, pretty much who cares how it runs?

    Rather than guess, lets find out - how about we try to come up with a couple other methods, then benchmark - I think would make a good companion article.

    Andy