I want to set up a system so that when a user tries to delete a record from the database it automatically moves the record to a mirror database, to act kind of like a recycle bin, so that in case someone accidently pushes the wrong button, we wont loose valuable information.
I know I can use triggers set on each table to accomplish this (though if anyone has a suggestion on how to write this trigger I would be super happy) but is there a way to do this database wide without having to alter and test all 50+ tables?
I know I can use triggers set on each table to accomplish this (though if anyone has a suggestion on how to write this trigger I would be super happy) but is there a way to do this database wide without having to alter and test all 50+ tables?