How to convert rows into different columns

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kirankumarn
    New Member
    • Jun 2009
    • 31

    How to convert rows into different columns

    How to convert rows into different columns

    Thanks in advance
  • ssnaik84
    New Member
    • Aug 2009
    • 149

    #2
    Look at how to use Pivot and Unpivot

    Comment

    • nbiswas
      New Member
      • May 2009
      • 149

      #3
      It can be achieved in more than I way..depending on the situation.
      Prior to PIVOT & UNPIVOT available since Sql Server 2005, the row column transposition was done by using case statement(among other alternatives).

      Have a look

      Pivot Table Data in SQL Server 2000 and 2005

      Comment

      Working...