Jump to content

Delete records in table


newprogram

Recommended Posts

Hi

 

DELETE FROM table WHERE lastlogin < 20100101

 

However that will depend on what format the date is (the above assumes a normal integer storing the date, which is unlikely).

 

Is it a timestamp?

 

Oh, and back up the table before you do anything like this.

 

All the best

 

Keith

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.