A SAVEPOINT marks a location within the current transaction without committing it. A ROLLBACK TO SAVEPOINT reverses uncommitted work performed after that point, including DELETE operations. Oracle permits multiple savepoints in a transaction, while DDL such as CREATE INDEX and TRUNCATE implicitly commits and therefore cannot be reversed by rolling back to a savepoint.
Community Discussion