 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ryan Schoolman Guest
|
Posted: Wed Dec 03, 2003 1:02 am Post subject: sql rows to columns |
|
|
How do you make rows into columns in an sql query? I'm using SQL Server
2000
--
Ryan Schoolman - Programmer & Application Architect
[email]ryan (AT) pclegends (DOT) com[/email]
PC Legends
http://www.pclegends.com
[w] 715.839.6855
[c] 715.379.0878
[h] 715.855.9003
|
|
| Back to top |
|
 |
David Gagnon Guest
|
Posted: Mon Dec 08, 2003 7:58 pm Post subject: Re: sql rows to columns |
|
|
Are you trying to return a row set as a column set
Name ID Income
Dave 123 60,000
Sally 444 62,000
..
..
as
Dave Sally ... . ....
123 444 . . .
60,000 62,000 . . .
Or are you looking for a list of column names in a table?
Name
Id
Income
"Ryan Schoolman" <ryan (AT) pclegends (DOT) com> wrote
| Quote: | How do you make rows into columns in an sql query? I'm using SQL Server
2000
--
Ryan Schoolman - Programmer & Application Architect
[email]ryan (AT) pclegends (DOT) com[/email]
PC Legends
http://www.pclegends.com
[w] 715.839.6855
[c] 715.379.0878
[h] 715.855.9003
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|