The XMLQUERY operator has two arguments, an XML query expression
and a
See "XML data types and operators" in the
The result of the XMLQUERY operator is a value of type XML.
The result represents a sequence of XML nodes or values. Atomic values, such
as strings, can be part of the result sequence. The result of an XMLQUERY
operator is not guaranteed to represent a well-formed XML document and it
might not be possible to insert the result of an XMLQUERY operator into an
XML column. To store the result in an XML column, the result must be a sequence
with exactly one item in the sequence and the item must be a well-formed document
node. The result can be viewed only in serialized form by explicitly using
the
In the
In
the