Created
January 24, 2010 10:23
-
-
Save beanieboi/285129 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE FROM traffics WHERE created_at < (CURDATE()-30) | |
DELETE FROM traffics WHERE created_at < DATE_SUB(NOW(), INTERVAL 1 MONTH) | |
DELETE FROM traffics WHERE created_at < '2010-01-01 00:00:00' | |
nothing works :| |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment