How to insert record into table on exception
Oracle 19c
Oracle Linux 7
I have a block that loops through all the tables in a schema and when it finds a table with a column like SITE_CD_TEST, it tries to run an update.
If the update succeeds, it does a rollback.
If the update fails, I want to store the table name and error into an error table.
Any ideas on how to do this?
/