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) Quote Link to comment https://forums.phpfreaks.com/topic/201388-delete-records-date-from-timestamp/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.