nerdexam
Microsoft

70-433 · Question #112

You have the following two tables. The foreign key relationship between these tables has CASCADE DELETE enabled. You need to remove all records from the Orders table. Which Transact-SQL statement…

The correct answer is B. DELETE FROM Orders. See the full explanation below for the reasoning.

Question

You have the following two tables. The foreign key relationship between these tables has CASCADE DELETE enabled. You need to remove all records from the Orders table. Which Transact-SQL statement should you use?

Exhibit

70-433 question #112 exhibit

Options

  • ADROP TABLE Orders
  • BDELETE FROM Orders
  • CTRUNCATE TABLE Orders
  • DDELETE FROM OrderDetails

How the community answered

(59 responses)
  • A
    15% (9)
  • B
    71% (42)
  • C
    8% (5)
  • D
    5% (3)

Community Discussion

No community discussion yet for this question.

Full 70-433 Practice