Overview
This paper focuses on ways to "Shred" XML data in DB2. Shredding is the process of mapping XML elements and attributes into relational tables and columns. One way to shred in DB2 is through the use of an annotated XML schema. If the XML data contains an XML schema, it is the easiest and fastest way to perform decomposition. If the mapping is significantly complex and involves multiple tables, existing tools automate both the mapping and decomposition steps. Another, perhaps less-known, method for shredding is through the use of the SQL/XML function XMLTABLE. It is useful when an XML schema does not exist. Using the XMLTABLE function can be more complex since the decomposition steps must be manually coded.
|
|
Oracle Live Webcast
Increase Your Bottom Line with Network Intelligence
HP StorageWorks 2000sa Modular Smart Array
Enabling easy transition from direct attached to centralized storage.
Six Priorities for Today’s Economic Climate
Learn how to reduce costs and achieve maximum value from IT.
Give Your Business the Competitive Edge
With the industry's most connected business intelligence solution.
Protect Your Business Critical Systems
With award-winning disaster recovery solutions by NEC.
Free IT Salary Report 2009
Register and be the first to download this invaluable resource
Find out the top concerns of CIOs / IT managers in Asia-Pacific