I want to write a generic trigger and use it for some database tables in my database to create kind of transaction log record in the transaction log table. This trigger needs to be generic if possible and on the database level instead of one trigger for each database table.
This trigger is a pre (insert, update or delete) one on the database level. The trigger needs to know about what column and table were changed in the database before the actual insert, update or delete takes place.
Is there any way in ORACLE to tell what table/column got dirty (changed) and trigger that in this trigger.
This trigger is a pre (insert, update or delete) one on the database level. The trigger needs to know about what column and table were changed in the database before the actual insert, update or delete takes place.
Is there any way in ORACLE to tell what table/column got dirty (changed) and trigger that in this trigger.