Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Passing associative array index by varchar2 from c# to pl/sql #220

Open
@lutin7812

Description

Hi, even though the odp.net driver supports associative array binding, it only supports array index by integer.
Is it possible that the driver could support in a future release, array index by varchar2?
So we could map c# hash table to oracle pl/sql ones.
Thank's for reply.

DECLARE
 SUBTYPE tvalue IS VARCHAR2 (1000);
 TYPE thash IS TABLE OF tvalue
 INDEX BY VARCHAR2 (50);
 hashtab thash;
 elem VARCHAR2 (50);
BEGIN
 hashtab ('avion') := NULL;
 hashtab ('voiture') := '748';
.............................
 hashtab ('train') := '749';
 hashtab ('bateau') := '750';
 hashtab ('velo') := '751';

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /