Quiz 2 Question 9 of 20

A developer's script opens a cursor over one million rows in the orders table and, for each row, runs an UPDATE that sets status = 'ARCHIVED' when order_date is before 2020-01-01. The job takes hours. What should the DBA recommend?

Select an answer to reveal the explanation.

Motivation