🌈 搜索
📅  最后修改于: 2022-03-11 15:05:04.345000             🧑  作者: Mango
DECLARE @test NVARCHAR(max) SELECT @test = COALESCE(@test + ',', '') + field2 FROM #test SELECT field2 = @test