I know this has been asked before, but I\'m still confused and would like to avoid any problems before I go into programming if possible.
I plan on having an interna
You may consider Transactions
BEGING TRANSACTION; SELECT ownership FROM ....; UPDATE table .....; // set the ownership if the table not owned yet COMMIT;
and also you can ROLLBACK all the queries between the transaction if you caught an error !