多行记录栏位合并 DECLARE @r varchar(8000)SET @r='' select @r=@r+f1 from (select 'a' f1union allselect 'b' f2) aselect @r