Commit on SQL


Is the command that is used to control the execution of the transaction is approved a series of commands that are closely related to the previous command has been successfully performed.

Generally syntax :
[statement]
Commit

Example:

insert into user values ('001','admin')
commit

update user set name='admin1' where id_user='001'
commit

delete from user where id_user='001'
commit

Comments