ROLLBACK is a transactional control language in SQL. It lets a user undo those transactions that aren’t saved yet in the database. One can make use of this command if they wish to undo any changes or alterations since the execution of the last COMMIT.
Rolls back an explicit or implicit transaction to the beginning of the transaction, or to a savepoint inside the transaction. You can use ROLLBACK TRANSACTION to erase all data modifications made from the start of the transaction or to a savepoint. It also frees resources held by the transaction
Rolls back an explicit or implicit transaction to its beginning or a savepoint within the transaction. ROLLBACK TRANSACTION can be used to undo all data changes made since the start of the transaction or to a savepoint. It also releases the transaction’s resources.
