Skip to content

Instantly share code, notes, and snippets.

@kerbelp
Created October 3, 2016 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kerbelp/81e96ba5e3ca8f2550814e84fe8473ce to your computer and use it in GitHub Desktop.
Save kerbelp/81e96ba5e3ca8f2550814e84fe8473ce to your computer and use it in GitHub Desktop.
DELETE FROM schema.table
WHERE ts < (SELECT sysdate - 90);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment