Q

How to lock a particular row?

How to lock a particular row in Oracle?

How to lock a particular row in Oracle?

By default, Oracle manages locking, taking care of concurrency locks for you. Oracle provides a method to lock

a whole table, but there is no explicit "select for update" syntax to lock individual rows within a table.

Here is a good link for understanding Oracle locking mechanisms and how to use the stats$enqueuestat table to view locks.

This was first published in January 2006

Dig deeper on Oracle database design and architecture

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close