MSSQL 多行数据串联字符分割单行
SELECT STUFF(
(SELECT
';' + name
FROM tbtable
WHERE id='88799089-076A-4E96-9D0A-7CFD72CF3D08' FOR XML PATH('')
),1, 1, '')
SELECT STUFF(
(SELECT
';' + name
FROM tbtable
WHERE id='88799089-076A-4E96-9D0A-7CFD72CF3D08' FOR XML PATH('')
),1, 1, '')