• Greg Larsen (4/27/2015)


    Comments posted to this topic are about the item <A HREF="/articles/Stairway+Series/125504/">Stairway to Advanced T-SQL Level 6: Creating Rows Of Data Using The UNPIVOT Operator</A>

    Consider using CROSS APPLY instead of UNPIVOT. More flexible (can unpivot multiple columns at once) and can generate better plans.

    Unpivot a table using cross apply[/url]

    Gerald Britton, Pluralsight courses