XML in SQL Server 2000
As mentioned in the preceding section, SQL Server 2000 offered two options for working with XML data: shred and compose, or store as text. While revolutionary at the time, today this capability is too limiting, and here’s why. Let’s assume that a developer decides to store XML data in a text data type in a SQL Server 2000 database. The first issue is validating the XML that is persisted (and by this, we mean validating the XML against an XSD schema). SQL Server 2000 has no means of performing such a validation, so the XML data can’t be validated except by an outside application (a risky proposition—the true power of a relational database management system, or RDBMS, is applying rules at the server level).
The second issue ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access