Skip to content

Instantly share code, notes, and snippets.

@leonardehrenfried
Last active September 29, 2015 12:17
Show Gist options
  • Save leonardehrenfried/1599561 to your computer and use it in GitHub Desktop.
Save leonardehrenfried/1599561 to your computer and use it in GitHub Desktop.
Deleting old rows in SQLite
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