📞 0339-0387701 (WhatsApp)
Contact
☰
🔍
Home
Important MCQs
Computer
Current Affairs
Data Science & AI (NCCIA)
Database & Data Handling (NCCIA)
English
Everyday Science
General Knowledge
General Science
Information & Networking (NCCIA)
Islamic Studies MCQs
Maths MCQs
Pak Study
Pedagogy
Software Engineering (NCCIA)
Telecom / Electrical Fundamentals (NCCIA)
Urdu MCQs
Past Papers
ASF Past Papers
FIA Past Papers
FPSC Past Papers
NCCIA Past Papers
NTS Past Papers
PPSC Past Papers
Latest Jobs
Army Jobs
Education Department
Federal Govt Jobs
Health Department
Police Jobs
Sindh Govt Jobs
Resources
About Us
Contact
🔍
Home
» What happens to locks held by a transaction after COMMIT?
« Back to Database & Data Handling (NCCIA)
What happens to locks held by a transaction after COMMIT?
A. They are released ✅
B. They are kept forever
C. They are transferred to the next transaction
D. They are converted to shared locks only
Correct Answer:
A. They are released
Explanation
COMMIT releases the transaction's locks.
Other transactions can then access the data.
« Which statement undoes work back to a savepoint only?
What happens to locks held by a transaction after ROLLBACK? »
Related MCQs
If a customer’s email changes, which key choice avoids updating foreign keys in other tables?
What is the cardinality of a relation?
What is a relationship in ER modelling?
A Category table has ParentCategoryID referencing CategoryID in the same table. What does this model?
What is another name for a partial key?
What is the trade-off of higher normalisation?
What distinguishes a natural key from a surrogate key?
In SQL, which data type stores approximate floating-point numbers?