nerdexam
Microsoft

70-451 · Question #18

70-451 Question #18: Real Exam Question with Answer & Explanation

Sign in or unlock 70-451 to reveal the answer and full explanation for question #18. The question stem and answer options stay visible for context.

Question

You are a database developer. You plan to design a database solution by using SQL Server 2008. The database contains two tables named Supplier and Product. There is a foreign key constraint between the Supplier and Product tables on the SupplierID column. The Supplier table contains a row that has the SupplierID value as 0. The 0 value indicates that the supplier is deleted. Certain transactions delete the supplier records from the Supplier table. You need to ensure that if a supplier is deleted, the SupplierID value in the Product table is set to 0. What should you do?

Options

  • ACreate a FOR DELETE trigger on the Product table that updates the SupplierID value to 0
  • BCreate a FOR DELETE trigger on the Supplier table that updates the SupplierID value to 0
  • CCreate a default constraint on the SupplierID column in the Product table that sets the value
  • DCreate a default constraint on the SupplierID column in the Product table that sets the value

Unlock 70-451 to see the answer

You've previewed enough free 70-451 questions. Unlock 70-451 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-451 Practice