Question
Which of the following commands is part of the
Transaction Control Language (TCL) in SQL?Solution
Transaction Control Language (TCL) commands in SQL are used to manage transactions in a database, ensuring that operations are executed reliably. COMMIT is a TCL command that finalizes a transaction, making all its changes permanent in the database. For example, in a banking application, if a transaction involves debiting one account and crediting another, the COMMIT command ensures these changes are saved only when both operations succeed. This guarantees data integrity. Without TCL commands like COMMIT, rollback mechanisms would not work effectively, and transactional integrity could be compromised. Why Other Options Are Incorrect :
- SELECT : This is a Data Query Language (DQL) command used for retrieving data, not managing transactions.
- UPDATE : This is a Data Manipulation Language (DML) command used to modify data, not a TCL command.
- ALTER : This is a Data Definition Language (DDL) command used for modifying table structures, unrelated to transactions.
- DROP : Another DDL command, used for deleting database objects, not for controlling transactions.
Which football club won the UEFA Women's Champions League title in 2025 after 18 years?
What innovative feature was introduced by the Sanraksha Mobile App for Indian Railways?
What innovation did India’s Jinali Mody receive recognition for under UNEP’s Young Champions of the Earth 2025?Â
How did India contribute to global central bank gold purchases in October 2024?
Which initiative is DPIIT launching under the Startup India program to boost India's startup ecosystem?
Which Indian state will introduce basic military training from Class I in schools?Â
- What is the name of Indonesia’s newly launched sovereign wealth fund?
Which organizations collaborated to launch the first Banana Export Train?
Which international body did Moldova recently join to promote renewable energy and sustainability?
The Sustainable Aquaculture in Mangrove Ecosystems (SAIME) model was recognized by which organization?Â