Why would I ever choose to store and manipulate XML in a relational database?

后端 未结 11 2103
谎友^
谎友^ 2020-12-08 03:38

Modern RDBMS\'s have support for XML column types and functionality for dealing with XML in stored procedures. Historically I would always have mapped hierarchical data (whe

11条回答
  •  情书的邮戳
    2020-12-08 04:07

    I've not had the need to store XML so far, but I frequently use the ability to return XML from a stored procedure. It makes some things very useful - mainly reports. I can run a SP to generate the report, send back the results in XML, and then use XSLT to display the result on the site very easily.

提交回复
热议问题