|
|
| Just another Perl shrine | |
| PerlMonks |
Re: Using Perl and MySQL for Activity Logby eff_i_g (Curate) |
| on Apr 27, 2011 at 14:32 UTC ( [id://901585]=note: print w/replies, xml ) | Need Help?? |
|
...if a record exists, update the record... If a record doesn't exist, insert the new recordYou can use INSERT...ON DUPLICATE KEY UPDATE for this and set up a trigger for the record keeping. I assume these will play nicely.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||