akawn.com
SQL Server 2017 STRING_AGG function
The STRING_AGG function has been introduced in SQL Server 2017. Below shows a simple example of it in use to comma separate a column of data into a single row: –declare table DECLARE @…