如何在sql中为xml添加属性

时间:2014-06-09 07:11:44

标签: sql

(select
 '99999' as [ram:ID],
 /* the rest of the codes */

输出:

<ram:ID>99999</ram:ID>

但我需要的是:

<ram:ID schemeAgencyID="1">99999</ram:ID>

0 个答案:

没有答案