Relative Content

Tag Archive for sqlsql-serverstring-agg

Remove duplicates from search with STRING_AGG [duplicate]

This question already has answers here: SQL: How to get distinct values out of string_Agg() function? (1 answer) Get unique values using STRING_AGG in SQL Server (11 answers) Closed 15 days ago. I would like to remove duplicates when aggregating results using string_agg in SQL server. I have tried a few methods in SO but […]