CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2002
    Location
    Australia
    Posts
    207

    Break column into row

    Hi,

    I am looking to break the following example into rows

    Source:
    loc1 loc2 loc3 loc4
    12 9 19 22

    Target:
    loc1 12
    loc2 9
    loc3 19
    loc4 22

    Can anyone help? I have been checking pivot and unpivot, but still don't know how to do this.


    Thanks
    Yolip

  2. #2
    Join Date
    Feb 2008
    Location
    Bangalore
    Posts
    149

    Re: Break column into row

    Which Database SQL Server 2000,SQL Server2005 or oracle????
    Encourage the efforts of fellow members by rating

    Lets not Spoon Feed and create pool of lazy programmers

    - ComIT Solutions

  3. #3
    Join Date
    Oct 2002
    Location
    Australia
    Posts
    207

  4. #4
    Join Date
    Oct 2002
    Location
    Australia
    Posts
    207

  5. #5
    Join Date
    Feb 2008
    Location
    Bangalore
    Posts
    149

    Re: Break column into row

    Encourage the efforts of fellow members by rating

    Lets not Spoon Feed and create pool of lazy programmers

    - ComIT Solutions

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured