Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to create rollback statements automatically

user13410062Dec 12 2012 — edited Dec 13 2012
Hi People

I need to write a script which can generate the ROLLBACK statements for the IMPLEMENTATIONS(Create table, view, index, package, trigger etc Insert table, update table, delete table, Grant etc - which means that implementation could be anything) .

Is there is anyway that I can create or generate corresponding ROLLBACK statements for each statement that i exceute on my database?

Basically there could be a list of operations that I will do and later on I would like to bring the database back to where it was prior to the implementation.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 10 2013
Added on Dec 12 2012
3 comments
857 views