Which XML method should you use in the SELECT list of your query?

You are a database developer for at large mail processing facility. You have a Prod database that contains tables used by many in-house applications, as well as third-party applications.
You have an XML document that contains the following:
<Root>
<Station ID="12" Type="Collation">
<PieceCount>5512</PieceCount>
<CustomerID>30</CustomerID>
</Station>
<Station ID="25" Type="Postal Sort">
<PieceCount>2503</PieceCount>
<CustomerID>30</CustomerID>
</Station>
<Station ID="14" Type="Folder">
<PieceCount>10548</PieceCount>
<CustomerID>65</CustomerID>
</Station>
<Station ID="12" Type="Insertion">
<PieceCount>27690</PieceCount>
<CustomerID>49</CustomerID>
</Station>
</Root>
You are creating a query to retrieve data from the XML and insert it into a temporary table.
Which XML method should you use in the SELECT list of your query?
A. query()
B. value()
C. nodes()
D. modify()

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.