PL/SQL (MOSC)

MOSC Banner

Stored Procedure with Associative Array as Parameter

edited May 24, 2020 5:01AM in PL/SQL (MOSC) 3 commentsAnswered

Hello,

When we call a stored procedure in which one parameter is an Associative Array type, the method of OracleCommandBuilder.DeriveParameters of Oracle client doesn't return the correct number of parameters.

We have this problem only with Oracle 18c Database (the same stored can be executed into Oracle 12c Database without any problem).

We have tried to test the procedure with different oracle client version, but the problem occurs in all cases.

The version of Database is Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production Version 18.3.0.0.0

Follow one example:

create or replace package test_package

as

type ref_cursor is ref cursor;

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center