标签:opened alt closed blank play oal .com display lan
想把数据表某一字段值,全串连起来,你可以使用一个方法。COALESCE:
DECLARE @list NVARCHAR(MAX) SELECT @list = COALESCE(@list + ‘,‘,‘‘) + [Transportation_CN] FROM [dbo].[Transportation] SELECT @list
标签:opened alt closed blank play oal .com display lan
原文地址:http://www.cnblogs.com/insus/p/6743251.html