Salesforce also provides constructs for manually creating savepoints, and manually rolling back the state of the database to its state at the time the savepoint is created Salesforce also provides constructs for manually creating savepoints, and manually rolling back the state of the database to its state at the time the savepoint is created Savepoint sp = Database.setSavepoint(); Savepoint sp = Database.setSavepoint(); Database.rollback(sp); Database.rollback(sp);
{}