Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个表,我想在该表中添加一个包含列摘要的新列。
示例列:A、B
结果:
A,B <TOPNODE><A>a的值</A><B>a的值</A><B><b的值</B></TOPNODE>
我知道我可以手动构建 XML,但是有没有办法使用“for XML”创建 XML。
一个想法是首先创建一个文档并提取单独的注释,但有没有办法一步完成?