Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deletion and Mark for deletion.

Status
Not open for further replies.

GBONGIOVANO

Programmer
Jan 17, 2003
16
0
0
US
I am doing a presentation on Perl DBI and MySQL.
I am using perl DBI to interact with my MySQL database.
I know how to delete from the database but how do I MARK for deletion.
Thank you
G
 
There is no intrisic mechanism in MySQL -- changes are committed as quickly as the server can get to them. You'll have to implement it yourself.

Add a column to the table in question which sets the status as "In use" or "marked for deletion". Make sure your queries are aware of the column. Purging is just deleting those rows the status of which is "marked for deletion" Want the best answers? Ask the best questions: TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top