daily pastebin goal
74%
SHARE
TWEET

Untitled

a guest Feb 23rd, 2019 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT name, email FROM clients WHERE DATE_FORMAT(lastsend, '%d/%m/%y') <> DATE_FORMAT(now(), '%d/%m/%y')
  2.    
  3. UPDATE clients SET lastsend = Now();
  4.    
  5. WHERE DATE_FORMAT(lastsend, '%d/%m/%y') <> DATE_FORMAT(now(), '%d/%m/%y') and
  6.       DATE_FORMAT(sendstart, '%d/%m/%y') <> DATE_FORMAT(now(), '%d/%m/%y')
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
 
Top