Databases · Junior · Question 36 of 75

What is a 'soft delete'?

Explanation

It allows restoring data and keeps history, but every query must filter out deleted rows, and unique constraints need care (for example, a partial unique index).

Further reading

Problem with a question

Databases · Junior · question 36

Test yourself

Take the Databases · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz