A savepoint marks a point in an active transaction; it does not commit the transaction. ROLLBACK TO SAVEPOINT undoes uncommitted changes made after that point, including changes from a DELETE statement. Oracle permits multiple savepoints in a transaction, while DDL such as CREATE INDEX and TRUNCATE causes implicit commit behavior and cannot be undone through a prior savepoint.
Community Discussion