Answers for "ms sql rows to comma separated list"

SQL
1

rows to comma separated values in mssql

DECLARE @test NVARCHAR(max)  
SELECT @test = COALESCE(@test + ',', '') + field2 FROM #test
SELECT field2 = @test
Posted by: Guest on June-16-2020

Code answers related to "ms sql rows to comma separated list"

Code answers related to "SQL"

Browse Popular Code Answers by Language