My Oracle Support Banner

Select For Update Statement With a Subquery Returns Wrong Results (Doc ID 2277991.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


A Select for update statement with a subquery returns wrong result after waiting for update statement to commit.

The problem can be demonstrated in the Example test case below: (Select for update in Session 2 returns 1 (wrong result) instead of 2 (correct result).





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.