Oracle DB - Flashback functionality

43 Views Asked by At

I have recently joined a Team where they execute their DB Changes bundled in a sql scripts. For Prod Readiness - They refresh Databases in multiple environments. Pick up 1 env, say Test1, execute sql scripts and if it fails, fix the errors in script. Now Pick up another Env, say Test2, run it here and keep going on until it all succeeds i.e. spool is all clean! Can we not restrict it all to just 1 environment by creating a Restore Point before script execution and using Flashback after execution, and do it on repeat until the spool comes clean? Am I missing something? Any drawbacks of using Flashback? Any alternatives or other considerations to use Flashback?

0

There are 0 best solutions below