Making rows in to colums using sql query

Posted by vaibhav on Stack Overflow See other posts from Stack Overflow or by vaibhav
Published on 2010-05-07T06:58:25Z Indexed on 2010/05/07 10:38 UTC
Read the original article Hit count: 423

Filed under:
|
|
|

I have a temp table in which have one coloum with four rows.

Table
------
vaibhav
IBM
12
'T'

I need a temp table

Col1     Col2    Col3     Col4
------   -----  -----    ------ 
Vaibhav  IBM      12       'T'

Do anyone have any idea.

© Stack Overflow or respective owner

Related posts about tsql

Related posts about sql