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 type of feedstock is being considered in Uttar Pradesh for producing Sustainable Aviation Fuel (SAF)?
Who has been appointed as the CEO of Unique Identification Authority of India (UIDAI)?
Which of the following is an annual exercise between Indian Army and Japanese Ground Self Defence Force?
Which Five Year Plan aimed at ‘Faster and more inclusive growth’?
SEBI introduced operational guidelines on green bonds asking issuers to make additional disclosure, pertaining to environmental sustainability objective...
What is the enhanced container handling capacity of Vizhinjam Seaport in Phase 1?
Egypt recently achieved certification as malaria-free from which organization?
What led to the permanent closure of the Afghanistan Embassy in Delhi, effective from November 23?
According to the report, the largest lender, State Bank of India, has an exposure of ₹______crore in Adani Group .
In which country the 12th edition of the 'World Hindi Conference' is being held?