Procedure Returns NULL Using Oracle ODBC 12c

(Doc ID 1963133.1)

Last updated on SEPTEMBER 01, 2016

Applies to:

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

Symptoms

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 12.1.0.1. Same VB code works fine and returns correct values with Oracle ODBC 11.2.0.4 and with Microsoft ODBC for Oracle provider.

Changes

Change in Oracle ODBC version from 11.2.0.4 to 12.1.0.1

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