Row to column convertion in sql server 2008

  • data

    empcode leavedate leavetype

    -------------------------------

    1 2009-08-14 CL

    1 2009-08-10 EL

    1 2009-08-09 LOP

    I Need Teh following Manner

    EmpCode 09 10 14

    ----------------------

    1 LOP El CL

  • try using pivot

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply