QuestionQ134

VerifiedManage Database Performance

An HR user updates an employee’s salary in the EMPLOYEES table but does not commit the transaction.

What type of lock does this scenario result in?

Explanation

An uncommitted update prevents concurrent transactions from modifying the affected employee record until the transaction is committed or rolled back. This is represented by a row-level lock on the row being updated, rather than an exclusive lock on the entire EMPLOYEES table.

Community Discussion

No comments yet. Be the first to start the discussion!