How should you extract the information?

You have a table that contains an XML column named XMLData1. The column contains the following nodes:
• Title
• Description
• Author
• Weight
• NumPages
You need to design a stored procedure that will return only the title and description in a tabular result set. The document must be developed by using minimum amount of effort.
How should you extract the information?
A. Execute sp_preparedocument.
B. Use XMLData1.Exists() in a select statement.
C. Use XMLData1.Query() in a select statement.
D. Use FOR XML PATH in a select statement.

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.