Tuesday, 25 July 2017

How to concatenate text from multiple rows into a single text string in SQL server?

Consider a database table holding names, with three rows:



Peter
Paul
Mary


Is there an easy way to turn this into a single string of Peter, Paul, Mary?

No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...