SHARE
TWEET

Untitled

a guest Sep 21st, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DELETE FROM `client_logs` WHERE `date` < DATE_SUB(CURRENT_DATE(), INTERVAL 1 DAY);
  2. DELETE FROM `panel_logs` WHERE `date` < DATE_SUB(CURRENT_DATE(), INTERVAL 1 DAY);
  3. DELETE FROM `reg_userlog` WHERE `date` < DATE_SUB(CURRENT_DATE(), INTERVAL 60 DAY);
  4. DELETE FROM `stream_logs` WHERE `date` < DATE_SUB(CURRENT_DATE(), INTERVAL 1 DAY);
  5. DELETE FROM `user_activity` WHERE `date_start` < DATE_SUB(CURRENT_DATE(), INTERVAL 1 DAY);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top