Rollback On SQL



Is the command that is used to control the execution of transactions conducted cancel the transaction because of an error or failure in one of a series of commands.

Syntax Rollback
[Statement]
Rollback

Example :
insert into user values ('admin','admin)
rollback

delete from user
rollback

Comments