Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Check if any row in a table is locked

VivekSreeOct 22 2014 — edited Oct 23 2014

Is it possible to find out whether a particular table is locked by a single session, using SQL commands?

I know that using V$Lock, it should be possible, however,

I think this needs two sessions, i.e one session should have locked a row, and another waiting to acquire the same row.

My question is, if we have only one session, which has acquired lock on a row, and no other session waiting for that row, how to find out?

This post has been answered by michaelrozar17 on Oct 23 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2014
Added on Oct 22 2014
10 comments
7,524 views