Quantcast
Channel: Oracle, MySQL, Sybase, Informix and other databases
Viewing all articles
Browse latest Browse all 1350

Using Oracle Package Level types through the Managed Data Access Oracle provider

$
0
0
<div class="jive-rendered-content">

Hello,

 

I have a package level type, defined like this:

 

TYPE MESSAGE_RECORD IS RECORD

    (

        CODE          VARCHAR (10),

        CUST_FIELDS   INT,

        MESSAGE       VARCHAR2 (255)

    );

 

    TYPE MESSAGE_TABLE IS TABLE OF MESSAGE_RECORD

        INDEX BY BINARY_INTEGER;

 

I have a procedure that uses the "MESSAGE_TABLE" defined like this:

PROCEDURE GET_ALL_MESSAGES (OUT_MESSAGES OUT MESSAGE_TABLE)

 

How do I use this in my c# code?  As far I understand these is not a UDT (User Defined Type).  Can someone point me to another forum post or article that explains how to use this?  I need to be able to iterate over the MESSAGE_RECORD within my C# code.

 

Thank you.

</div>

Viewing all articles
Browse latest Browse all 1350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>