Select For Update Statement With a Subquery Returns Wrong Results

(Doc ID 2277991.1)

Last updated on JUNE 26, 2017

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).





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 hundreds of Community platforms