Home Forums SQL Server 2008 SQL Server 2008 - General Merging the rows RE: Merging the rows
BriPan
SSCrazy
Points: 2061
More actions
November 19, 2012 at 2:24 am
#1560225
try this
declare @sql varchar(max)
select @sql=coalesce(@sql,'')+columnname
from
tablename
select @sql