Skip to Main Content

SQL & PL/SQL

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!

is "dual" table locked during transaction if SQL statement uses "dual"

user482081Jul 26 2006 — edited Jul 27 2006
If we have a Oralce merge statement like this:

merge into table_a A using (select 10 as ID, 'John' as Name from dual) B on (A.ID=B.ID)
when matched then update set A.Name=B.Name
when not matched then insert (ID, Name) values(B.ID, B.Name)

When this statement is executed, is the "dual" table locked?

Thanks

gary
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 24 2006
Added on Jul 26 2006
11 comments
969 views