My Oracle Support Banner

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 to [Release 10.2 to 11.2]
Information in this document applies to any platform.


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


The Oracle Database was migrated from to


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

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

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.