循环拼接字符串

DECLARE @name NVARCHAR(MAX)
SET @name = ''
SELECT @name = @name + ',' + SrmName FROM showroom
SELECT @name

  

posted @ 2016-04-26 11:27  小爆脾气  阅读(685)  评论(0编辑  收藏  举报