Answers for "rows to comma separated values in sql"

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 "rows to comma separated values in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language