我有 SQL
SELECT '' AS "dfn", CCFKeyType AS "dfn/b", GroupID AS "dfn/var", ID AS "dfn/code"
FROM (
...
) A
FOR XML PATH('')
并且它生成
<dfn>
<b>cid</b>
<var>0115</var>
<code>EXS</code>
</dfn>
我想生成:
<dfn>
<b>cid</b>
(<var>0115</var>):
<code>EXS</code>
</dfn>
如何在标签之间插入文本数据?