COMMIT Command

The COMMIT command is a permanent SQL statement.


It is good practice to have the word COMMIT at the beginning of an explicit transaction.

COMMIT: The COMMIT statement is used to explicitly end a transaction and make all the changes made within that transaction permanent. Once a COMMIT is executed, the changes are saved to the database, and they cannot be rolled back (undone). Other database connections can then see and access the committed changes.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top