Skip to content
Advertisement

Tag: string-aggregation

How to concat all the entries of one column [SQL]

As the title states, with the following SQL query: I get the following result: Question: how to modify the query so that all the names are to be displayed in a row, so that they can be later used an array. What I tried: FOR XML, STUFF – doesn’t work Expected result: Answer If you are using SQL Server you

Advertisement