SELECT STUFF( (SELECT ';' + name FROM tbtable WHERE id='88799089-076A-4E96-9D0A-7CFD72CF3D08' FOR XML PATH('') ),1, 1, '') 来源:https://www.cnblogs.com/zengtianli/p/11672450.html 标签 字符 mssql