Sounds like you want to use
http://dev.mysql.com/doc/refman/5.7/en/insert-on-duplicate.htmlINSERT INTO table (a,b,c) VALUES (1,2,3) ON DUPLICATE KEY UPDATE c=c+1;
In reply to Re: Loader script - Design question
by Anonymous Monk
in thread Loader script - Design question
by artanisace
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |