Quiz: Insert and Update with Upserts

Test your understanding of inserting and updating with upserts.

1

What does an upsert do?

A)

The system checks to see if a record with a matching unique value exists. If it does, it deletes it and inserts a new record.

B)

The system checks to see if a record with a matching unique value exists. If it does, it updates the current record.

C)

The system checks to see if a record with a matching unique value exists. If it does, it updates the current record. If not, it inserts a new one.

Question 1 of 30 attempted

Get hands-on with 1200+ tech skills courses.