• Thanks everyone for your comments.

    To david.hultin 15509:

    Yes, it was a copy/paste problem. It was reported by, interestingly, another David (David Quéméré

    ) when it was first published in 2008 (check comments on Page1)

    To ccoker-1050064:

    Thansk for mention the I.E. 6 issue.

    Indexes on temp table are well discussed. Since the article is intended to focus on something not covered well by other writers, it was just mentioned briefly in the appendix DDL part.

    To Ken Shapley:

    Again, the article is intended to focus on something not covered well by other writers and performance aspect is well discussed by other writers, and it is mostly related/caused by the lack of index/statistics of table variables.