作者:txy001美丽人生_618 | 来源:互联网 | 2023-08-26 15:48
PossibleDuplicate:WhywouldIeverchoosetostoreandmanipulateXMLinarelationaldatabase?
Possible Duplicate:
Why would I ever choose to store and manipulate XML in a relational database?
可能重复:为什么我会选择在关系数据库中存储和操作XML?
Although this question on the surface appears to be a rehash of what's already been previously asked, I'll state up front that it is not. My question is not how to store or retrieve XML from a relational database. The question at hand is much more fundamental than that:
虽然表面上的这个问题似乎是对之前已经提出过的问题的重新讨论,但我会事先说明事实并非如此。我的问题不是如何从关系数据库中存储或检索XML。手头的问题远不止于此:
What type of data do you usually store in XML format in your database? What are your design decisions for doing so? Are you willing to give up the 'relational' aspect of your database by putting certain parts of your model into an XML blurb? Things such as preferences or configuration files can be stored as XML in a relational database, but should you do it?
您通常在数据库中以XML格式存储哪种类型的数据?这样做的设计决定是什么?您是否愿意通过将模型的某些部分放入XML模糊中来放弃数据库的“关系”方面?诸如首选项或配置文件之类的东西可以作为XML存储在关系数据库中,但是你应该这样做吗?
6 个解决方案