SQL command TCL
What is TCL? TCL is a Transaction control language. It is the sublanguage of SQL in which different commands are used to manage the transactions in the database. A transaction is a logical unit of work consisting of one or more SQL statements that are guaranteed to be atomic with respect to recovery. The changes that are made by DML statements like Insert, Delete, Update are managed by the TCL commands. These commands are BEGIN, COMMIT, ROLLBACK, SAVEPOINT. These commands ensure the integrity of data by allowing the statements to be grouped together into logical transactions. COMMIT Statement: Commit statement ends the transaction successfully, making the database changes that are done by the DML commands permanent. If we’ll not use the COMMIT command then the changes made by INSERT IN TO, UPDATE or DELETE commands will not be permanent and can be rolled back So for the permanent manipulation COMMIT command will be used. A new transaction starts after COMMIT wi...