nerdexam
Microsoft

70-433 · Question #42

70-433 Question #42: Real Exam Question with Answer & Explanation

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

Question

You have been tasked to delete 1000 rows from a table named NewWidgets. There are 2000 rows in which the column ToBeDeleted set to 1. You need to write a Transact-SQL batch that will delete exactly 1000 rows. Which Transact-SQL batch should you use?

Options

  • ADELETE TOP (1000) dbo.NewWidgets
  • BDECLARE @BatchSize INT = 10;
  • CDELETE TOP ((SELECT COUNT(*) FROM dbo.NewWidgets
  • DDECLARE @TotalRowCount INT = 0; WHILE (@TotalRowCount <= 1000)

Unlock 70-433 to see the answer

You've previewed enough free 70-433 questions. Unlock 70-433 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-433 Practice