标签:
DECLARE @name NVARCHAR(MAX) SET @name = ‘‘ SELECT @name = @name + ‘,‘ + SrmName FROM showroom SELECT @name
循环拼接字符串
原文地址:http://www.cnblogs.com/2333hh/p/5434378.html