How to convert records in a table to xml format using T-SQL?

前端 未结 3 1918
渐次进展
渐次进展 2020-12-14 01:19

I\'ve got a simple table and want to store its content into a xml on the harddrive. There should be one root element for the whole table, one element per table row and one c

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-14 02:10

    SELECT CAST('1' AS XML)

    This Query fire in sql and your copy data put inside then show XML Result.

提交回复
热议问题