What is commit in sql?

SQL

Could someone tell me what exactly is COMMIT in SQL?


If you want to unleash your potential in this competitive field, please visit the SQL course page for more information, where you can find the SQL tutorials and SQL frequently asked interview questions and answers as well.

1
Answers

Replies

Commit in SQL is referred to as a transactional command that is used to save the changes invoked by the transaction to the database. Hence, the COMMIT command is responsible for saving the changes since the last ROLLBACK or last COMMIT command.



Below is the syntax for the commit command:



COMMIT;

 
 

This topic has been locked/unapproved. No replies allowed

Login to participate in this discussion.

Leave a reply

Before proceeding, please check your email for a verification link. If you did not receive the email, click here to request another.
WhatsApp
To Top