geo3d Posted May 11, 2010 Share Posted May 11, 2010 Hi folks Need some help with syntax to delete records from my postgresql database. Delete condition is 3 years from date of entry. Delete FROM table WHERE date_entered=DATE_SUB(CURDATE(),INTERVAL 3 YEARS) Link to comment https://forums.phpfreaks.com/topic/201388-delete-records-date-from-timestamp/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.