Which action should you take?

You currently administer a database on an instance of SQL Server 2008. Your Prod database contains a Project table as shown:


The MaterialList column stores XML documents that represent the materials required to complete each project. The material lists are compiled and automatically transmitted by project managers in the field using a third-party application, and loaded into the database programmatically.
As each material list is added to the Project table, you want to ensure that certain elements within the XML conform to the following criteria:
Each material in the material list must have values for the product and stock number elements.
Each material in the material list must have a numeric quantity value.
Each material in the material list must have a value representing the date the item is required at the job site.
Which action should you take?
A. Use typed XML.
B. Use untyped XML.
C. Store the incoming XML in a staging table containing needed constraints.
D. Store the incoming XML into columns in a temporary table to perform validation.

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.