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 statement is correct about β INDUS X βΒ ? Β
a. INDUS X stands for India-United States Defence Acceleration Ecosyste .
b. The I...
Which of the following is the capital of Myanmar, a neighbouring country of India?
Why is India's private sector investment expected to decline below 11% of GDP in FY25?
What is the main objective of the Uttarakhand Service Sector Policy-2023?
What is the name of the event inaugurated by Union Ministers Dr. S. Jaishankar and Piyush Goyal in New Delhi, aiming to promote the 'Aatmanirbhar Bharat...
According to the data released by the National Statistical Office (NSO), Consumer Price Index-based inflation rate rose to a three-month high at ___.
A four year mentorship programme ‘Project Arohan’ to provide guidance to students which state government has launched it recently?
Which fintech platform is going to invest approximately Rs 100 crore in Gujarat International Finance Tec-City (GIFT City) for the development of a Glob...
Which missile systems were also confirmed as successfully test-fired by the Ministry of Defence from Chandipur, Odisha?
What is the target capacity for the new terminal building at Lal Bahadur Shastri International Airport, Varanasi?