Which action(s) should you take?

You are a database developer on an instance of SQL Server 2008. Your company is using a database to record its purchasing transactions. You have an Inventory table and a PurchaseOrder table defined as follows:


Currently, only one inventory item may be purchased on a single purchase order. You want to modify the data model so that each purchase order may contain multiple line items. You want to minimize data redundancy.
Which action(s) should you take?
A. Drop the existing FOREIGN KEY constraint.
Create a POLines table that includes the InvID and Quantity columns.
Create a FOREIGN KEY constraint on the InvID column of the POLines table that references the InvID column of the Inventory table.
B. Create a FOREIGN KEY constraint from each InvID column that references the InvID column in the Inventory table.
C. Drop the existing FOREIGN KEY constraint.
Remove the InvID and Quantity columns from the PurchaseOrder table.
Create a POLines table that includes the PONumber, InvID, and Quantity columns.
Create a FOREIGN KEY constraint on the InvID column of the POLines table that references the InvID column in the Inventory table.
Create a FOREIGN KEY constraint on the PONumber column of the POLines table that references the PONumber column of the PurchaseOrder table.
D. Denormalize the data model by combining the Inventory and PurchaseOrder tables into a single table.
Add multiple columns for InvID and Quantity values to the PurchaseOrder table.

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.