Call to a Stored Procedure With Ref Cursor Fails With PLS-306 (Doc ID 271515.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Provider for OLE DB - Version: 10.2.0.1 to 11.2.0.1 - Release: 10.2 to 11.2
Microsoft Windows (32-bit)

Symptoms

Calling a stored procedure with the Oracle Provider for OLE DB version 9.2.0.4 fails with the error message:

     ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'TEST'
     ORA-06550: line 1, column 7: PL/SQL: Statement ignored

Even though the same code worked previously.

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