MySQL Forums
Forum List  »  Newbie

Automatically delete records from database after a few days
Posted by: Lee Zi Ying
Date: October 28, 2009 12:26AM

Hi all,

I am writing a website in and database MySQL.
I want to delete the certain records from my database after a number of days, how can I accomplish that?

For example user has inserted many rows of records into the database table everyday. But for each record, it must be automatically be deleted after 30days.

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.