OCI: Performing OCIStmtFetch2() FETCH_FIRST/FETCH_NEXT/FETCH_FIRST -> Wrong ROWID For Last FETCH_FIRST (Doc ID 1094634.1)

Last updated on MAY 05, 2010

Applies to:

Oracle Server - Standard Edition - Version: 10.2.0.4 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Symptoms

Running OCI application against RDBMS 10.2.0.4 or lower and retrieving ROWID using scrollable cursor like

  1.   OCIStmtFetch2 / FETCH_FIRST
  2.   OCIStmtFetch2 / FETCH_NEXT
  3.   OCIStmtFetch2 / FETCH_FIRST

shows that ROWID from last FETCH_FIRST (step3.) is wrong or corrupt in opposite to first execution.


Cause

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