on-internet
← Community

Conserving child tables when recovering a master table from backup

Stack Overflow ·

I have taken a backup of a master table in Oracle database, which has a lot of child tables, and now that the master table has some corrupted data and I need to delete the data from that table, and recover from that backup. The problem is cascading in child tables, if I truncate the master table, then dependent rows will be deleted, and I can't replace the table by changing name as the table may have key constraints, triggers, indices, etc. What approach could I follow to recover properly?

Comments

Sign in or sign up to comment and upvote.

No comments yet.