SQL XML programming

DB2® for IBM® i provides support to store and retrieve XML data using Structured Query Language (SQL). Objects defined using SQL such as tables, functions, and procedures can use the XML data type for column, parameter, and variable definitions. In addition to an XML data type, there are built-in functions and procedures that can be used to generate XML documents and to retrieve all or part of an XML document.

Note: By using the code examples, you agree to the terms of the Code license and disclaimer information.