SQL/XML

SQL/XML

The SQL/XML, or "XML-Related Specifications", extension to the SQL standard is defined by ISO/IEC 9075-14:2003. SQL/XML specifies SQL-based extensions for using XML in conjunction with SQL. The XML data type is introduced, as well as several routines, functions, and XML-to-SQL data type mappings to support manipulation and storage of XML in a SQL database.

The SQL/XML specification includes functions to construct XML data. These functions allow the user to construct new XML elements or attributes with values e.g. from relational tables. Other functions such as XMLCONCAT or XMLAGG can be used to combine small XML fragments into larger ones. The list of available construction functions includes:

* XMLELEMENT
* XMLATTRIBUTES
* XMLFOREST
* XMLCONCAT
* XMLNAMESPACES
* XMLCOMMENT
* XMLPI
* XMLDOCUMENT
* XMLAGG
* etc.

SQL/XML also defines functions which allow the user to embed XQuery expressions in SQL statements. These functions include:

* XMLQUERY
* XMLTABLE

While XMLQUERY returns values of type XML, the function XMLTABLE can take XML data as input and produce a relational table as output.Predicates on XML data, such as search conditions, can be expressed with the XMLEXISTS predicate, typically in the WHERE clause of a SQL statement.

Further information and examples of the SQL/XML functions are provided in the external links below.

External links

* [http://www.sigmod.org/sigmod/record/issues/0409/11.JimMelton.pdf Advancements in SQL/XML] Andrew Eisenberg, Jim Melton; SIGMOD Record 33(3): 79-86 2004.
* [http://acm.org/sigmod/record/issues/0206/standard.pdf SQL/XML is Making Good Progress] Andrew Eisenberg, Jim Melton; SIGMOD Record 31(2): 101-108 2002.
* [http://sqlxml.org/ SQLXML.org]
* [http://sqlx.org/ SQLX.org]


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • SQL — ist eine Datenbanksprache zur Definition, Abfrage und Manipulation von Daten in relationalen Datenbanken. SQL ist von ANSI und ISO standardisiert und wird von fast allen gängigen Datenbanksystemen unterstützt. Die Bezeichnung SQL (offizielle… …   Deutsch Wikipedia

  • SQL-92 — SQL (das Kürzel für Structured Query Language; offizielle Aussprache [ɛskjuːˈɛl], häufig auch [ˈsiːkwəl] →SEQUEL), ist eine Datenbanksprache zur Definition, Abfrage und Manipulation von Daten in relationalen Datenbanken. SQL ist von ANSI und ISO… …   Deutsch Wikipedia

  • SQL-99 — SQL (das Kürzel für Structured Query Language; offizielle Aussprache [ɛskjuːˈɛl], häufig auch [ˈsiːkwəl] →SEQUEL), ist eine Datenbanksprache zur Definition, Abfrage und Manipulation von Daten in relationalen Datenbanken. SQL ist von ANSI und ISO… …   Deutsch Wikipedia

  • SQL:2003 — Saltar a navegación, búsqueda SQL: 2003 es la quinta revisión del lenguaje de consulta de base de datos SQL. La última revisión de el estándar es SQL:2008. Resumen El estándar SQL:2003 hace pequeñas modificaciones sobre la versión anterior,… …   Wikipedia Español

  • SQL:2008 — SQL:2008  шестая версия (ревизия) языка запросов баз данных SQL. Содержание 1 Общие сведения 2 Новшества 3 …   Википедия

  • SQL:2003 — пятая версия стандарта языка SQL, сменила SQL:1999. Следующая версия SQL:2008. Состав стандарта Описание стандарта состоит из следующих частей: SQL/Framework; SQL/Foundation; SQL/CLI Call Level Interface; SQL/PSM Persistent Stored Modules;… …   Википедия

  • SQL — This article is about the database language. For the airport with IATA code SQL, see San Carlos Airport. SQL Paradigm(s) Multi paradigm Appeared in 1974 Designed by Donald D. Chamberlin Raymond F. Boyce Developer …   Wikipedia

  • XML — Infobox file format name = Extensible Markup Language icon = logo = extension = .xml mime = application/xml, text/xml (deprecated) type code = uniform type = public.xml magic = owner = World Wide Web Consortium genre = Markup language container… …   Wikipedia

  • XML-Datenbank — Als XML Datenbank werden Datenbanken oder Datenbankverwaltungssysteme bezeichnet, die Daten im XML Format speichern oder anderweitig mit XML Daten umgehen können. Man kann daher XML Datenbanksysteme in zwei Kategorien unterteilen: XML enabled:… …   Deutsch Wikipedia

  • SQL — Desarrollador(es) IBM ISO/IEC 9075 1:2008 Información general Paradigma Multiparadigma …   Wikipedia Español

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”