• This is a super cool article. Let me repeat, this is a super cool article. What a refreshing read!

    I look back on all the TSQL I have written using loops or cursors - arrrgh! Oh, and all the arguments/discussions on cursors, loops, variables of type table....

    I am hooked on Tally tables. It is an extremely obvious in-your-face concept and I can't imagine why I haven't used this technique before.

    Thanks again.

    -Mike