Marking a record as deleted

  • Thread starter Thread starter bthumber
  • Start date Start date
B

bthumber

How do you mark a record as deleted in a database so that a user cannot see
the record? Then later unmark the record.

thanks
 
bthumber,

I don't know of a database that supports such a feature.

You would need to implement that yourself and only allow the user to
indirectly view the data in the table via a stored procedure that would not
display the "deleted" rows.

Kerry Moorman
 
You could create a 'deleted' column with a datatype of bit and filter on
that when you select.
 
Back
Top