List:General Discussion« Previous MessageNext Message »
From:Martijn Tonies Date:November 1 2006 4:58pm
Subject:Re: Automatic Removal
View as plain text  
> got a Really Simple question, which is probably really easy, but it's 
> just not starign me in the face.
> 
> Is there any "query" in MYSQL (or function in PHP that works with MYSQL) 
> to remove a value from a field when a new week comes across, or to 
> remove something from a field on a defined date and time, automatically?

Depends on your definition of "automatically" :-)

MySQL 5.1 has "Events": a server side process checks periodically to see
if anything needs to be done, for example, your delete/clear SQL statement.

Martijn Tonies
Database Workbench - development tool for MySQL, and more!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
Thread
Automatic RemovalRichard Harris1 Nov
  • Re: Automatic RemovalMartijn Tonies1 Nov