I created a database, in which I have some problems when I proceed to remove some data from the table.
Example Sales Stand: I have a seller who was fired and I want to remove it from the bd but I can not because this seller has associated him with 1000 and such sales ... And I can not delete the 1000 and such sales because of the seller ...
I know that to solve this problem, one of the solutions is to add a field to each table in which when this data is removed this field becomes false or 0 and when it is active this field is true or 1.
Question
What is the name of this way of solving it? that is if there is a name for it
Example: If I say that I will use " Singleton " in a class automatically who knows this Design Pattern knows what I am going to do.
Is there a name like this for this way of solving it?