row convert to column in sql 2008

Posted by jay on Stack Overflow See other posts from Stack Overflow or by jay
Published on 2010-05-13T04:49:02Z Indexed on 2010/05/13 4:54 UTC
Read the original article Hit count: 169

Filed under:
|

create table #cusphone(cusid int,cusph1 int) insert into #cusphone values(1,48509) insert into #cusphone values(1,48508) insert into #cusphone values(1,48507) insert into #cusphone values(2,48100)

out put

            1 48509 48508 48507
            2 48100  null  null   

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server-2008