Answers for "convert row to comma separated column in sql using stuff"

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 "convert row to comma separated column in sql using stuff"

Code answers related to "SQL"

Browse Popular Code Answers by Language