I need some kind of SQL to update the record in the database, if it exists, and to insert it when it does not, looking around, it seems there are several solutions for this, but I do not know what the correct / acceptable ways to do it .
I would ideally want it to work with both Firebird 2 and MySQL 5, since the update needed to be run for both databases, and it would be easier if the same SQL worked on both, if it worked on a larger database which would be a plus.
In this case, speed and reliability also depend on reliability and speed, but it can potentially be used to quickly update 1000 records (in different tables).
any submissions?
source share