MySQL version
Posted by: harikaried
Posted on: 2005-04-01 23:02:00
Just making sure I'm reading this correctly..
> mysql -V
mysql Ver 14.7 Distrib 4.1.8, for pc-linux (i386)
" If you specify the ON DUPLICATE KEY UPDATE clause (new in MySQL 4.1.0)"
http://dev.mysql.com/doc/mysql/en/insert.html
So that should work on this version of MySQL.. ?
"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 'ON DUPLICATE KEY UPDATE..."