My Oracle Support Banner

Procedure Returns NULL Using Oracle ODBC 12c (Doc ID 1963133.1)

Last updated on MARCH 04, 2022

Applies to:

Oracle ODBC Driver - Version and later
Information in this document applies to any platform.


Calling a procedure with an OUT or IN OUT parameter via the Oracle ODBC driver in VB code fails when the OUT parameter always returns NULL instead of a value. The exact exception one might receive in traces is:

SQL_ERROR ("Fetch out of sequence")

This issue only happens in Oracle ODBC version Same VB code works fine and returns correct values with Oracle ODBC and with Microsoft ODBC for Oracle provider.


Change in Oracle ODBC version 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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.