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 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

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

TEST CASE:

Changes

 None

Cause

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.