我已经写:选择在<br/> FOR XML路径查询在下面的SQL查询的SQL Server
SELECT SUBSTRING(
(
SELECT ', <br />'+
[tblSectors].[title]
FROM tblSectors WHERE 1=1 AND sector_id IN
(SELECT sector_id FROM tRelBusinessSector WHERE business_id = 2517)
FOR XML PATH('')),2,200000) AS CSV
它显示下面的输出:<br />Personal Injury, <br />Financial products/services
它不会显示在输出<br/>
?为什么?
请不要输出SQL HTML:S – Bas