Select from Visual Basic to DG4DRDA Fails With Ora-1002: Fetch Out Of Sequence (Doc ID 1168284.1)

Last updated on JANUARY 18, 2017

Applies to:

Oracle Database Gateway for DRDA - Version 10.2.0.4 to 11.2.0.1 [Release 10.2 to 11.2]
Information in this document applies to any platform.

Symptoms

A Microsoft Visual Basic program makes a select from a synonym on an Oracle RDBMS that uses the Database Gateway for DRDA to select from DB2.
The select gives the error -


ORA-01002: fetch out of sequence



Changes

The Oracle Database was migrated from 9.2.0.7 to 10.2.0.4.

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