|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to display rows as columns
Hello friends
I want to get a query where the rows must be displayed as columns. eg: === select * from numbers ================= Numbers one Two Three four For me it must display as: Numbers one Two Three four please tell me a query to do that bye regards bharath |
|
#2
|
|||
|
|||
|
You can use PIVOT to achive this result or go for CASE to do this.
|
![]() |
| Viewing: Dev Articles Community Forums > Databases > Microsoft SQL Server > How to display rows as columns |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|