Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rows to columns

Status
Not open for further replies.

ersatz

Programmer
Oct 29, 2002
114
US
Hello,
I have a table with 2 columns:

Name SerialNumber
123 4GB6Y78
123 53F7TH
124 4GB6Y78
124 53F7TH
124 53E8BX
the question is :
how to get the results as following:

123 4GB6Y78 53F7TH
124 4GB6Y78 53F7TH 53E8BX
...
125 with 6 columns....
etc...

Thank you very much!
 
Hello markros,
Thanks you very much for the hint, I found what I was looking for........ a very good example about Dynamic PIVOT without specifying columns

Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top