No one has followed this question yet.
Automatically set the modified date on a row that changes
Best MySQL practice to insert a record if it does not already exist, and return its id
Have Update script, want to insert rows if no match..
How to Write single proc for all operations?
How do I INSERT or UPDATE an array of values without iteration?