mySQL: Knowing when to UPDATE and when to INSERT?

Posted by thedp on Stack Overflow See other posts from Stack Overflow or by thedp
Published on 2010-05-11T06:55:00Z Indexed on 2010/05/11 7:04 UTC
Read the original article Hit count: 206

Filed under:
|
|
|

Hello,

I'm still quite a mySQL newbie, so I would like to do this right to avoid future mishaps.

What is the right way to detect when do I need to UPDATE an entry in a table or INSERT a new one?

Thank you.

© Stack Overflow or respective owner

Related posts about mysql

Related posts about mysql-query