SyntaxFix
Write A Post
Hire A Developer
Questions
delete from YOUR_TABLE where your_date_column < '2009-01-01';
This will delete rows from YOUR_TABLE where the date in your_date_column is older than January 1st, 2009. i.e. a date with 2008-12-31 would be deleted.
YOUR_TABLE
your_date_column
2008-12-31