Skip to content

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

Open
@lutin7812

Description

@lutin7812

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