Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I have two Columns in sql server 2008 table like below

ID Question
1 Testvalue1
2 Testvalueexample
3 Testvaluetest
4 Testvaluetext

from this table i need resulted table as below

1                         2                         3                     4
TestValue1 Testvalueexample TestValuetest Testvaluetext


Please help me to get above result in sql server 2008 query

Thanks
Mohan
Posted
Comments
Thanks7872 22-Aug-13 0:22am    
What have you tried? We are not here to answer anything you ask. You should try something first. Can you post the code you have tried till now?

1 solution

Please have a look at below URL :

Convert Rows to Column[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900