Last active
September 29, 2015 12:17
-
-
Save leonardehrenfried/1599561 to your computer and use it in GitHub Desktop.
Deleting old rows in SQLite
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 eddcalc_query WHERE date < date('now','-60 days'); | |
VACUUM; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment