XML White Papers
Query DB2 XML Data With XQuery
Overview XQuery differs from SQL in a number of key respects, largely because the languages were designed to work with different data models that have different characteristics. XML documents contain hierarchies and possess an inherent order. Tabular data structures supported by SQL-based DBMSs are flat and set based; as such, rows are unordered. The differences between these data models result in a number of fundamental differences in their respective query languages. For example, XQuery supports path expressions to enable programmers to navigate through XML's hierarchical structure, while plain SQL (without XML extensions) does not. XQuery supports both typed and untyped data, while SQL data is always defined with a specific type.
| Publisher | IBM | File Format | HTML |
|---|---|---|---|
| Date Published | April 2006 | ||
| Format | White Papers | ||
| Topics | |||



