Marking a record as deleted

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
 
K

Kerry Moorman

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
 
A

ACook

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top