Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2013
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. INSERT INTO `stats`
  2. VALUES(CURDATE(), :bytes)
  3. ON DUPLICATE KEY UPDATE
  4. SET `bytes` = `bytes` + :bytes
  5.  
  6. #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET `bytes` = `bytes` + 1024' at line 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement