declare @str varchar(6000)
set @str=''
select @str=@str+','+ 字段 from 表
select stuff(@str,1,1,'')