Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, that's how REPLACE works -- which is a complete pain to be honest! INSERT ... UPDATE works the way you'd hope it would, and keeps the auto inc columns correct.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: