Procedure Returns NULL Using Oracle ODBC 12c

(Doc ID 1963133.1)

Last updated on SEPTEMBER 01, 2016

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


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