Hallo,
in diesem Artikel:
http://msdn.microsoft.com/de-de/library/ms345121%28en-us,SQL.90%29.aspx wird die Verwendung von XML Indexes erläutert. In Tabelle 2 ist eine Node Table zu sehen, die alle notwendigen Informationen zu den indexierten XML-Elementen enthält.
Gibt es eine Möglichkeit, die Daten dieser "Node Table" abzufragen? Also nicht die Metadaten wie in der Tabelle sondern die tatsächlichen Instanzdaten?!
Vielen Dank für eure Hilfe!
Hi,
this article explain the use of XML Indexes:
http://msdn.microsoft.com/de-de/library/ms345121%28en-us,SQL.90%29.aspx.
There is a "Node Table" with 11 Elements. Is there any possibility to access the instance Data of this Table without using a node-query like this:
"SELECT T2.Loc.query('.')
FROM dbo.xmlinvoice
CROSS APPLY invoice.nodes('/bookstore/book') as T2(Loc)"
I would get all Elements and Attributes of my XML-Column, without awareness about the XML-Structure.