Is it a good practice to have an is_deleted
column in a SQL Server table or there's another way of dealing with this question?
Another solution I can think of is to delete that row and inserting it to another table for deleted rows.
What's the best solutions?
Thanks in advance.
Depends.
I'd go with the
IsDeleted
field, and then every-now-and-then run an archive process that moves these rows off to an archived table, such that they don't take up room in commonly-queried tables, but can still be retrieved when required.