HighTechTalks DotNet Forums  

Accessing arrays returned by Oracle Stored Procedures using Oracle

Dotnet Framework microsoft.public.dotnet.framework


Discuss Accessing arrays returned by Oracle Stored Procedures using Oracle in the Dotnet Framework forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Kumar.A.P.P
 
Posts: n/a

Default Accessing arrays returned by Oracle Stored Procedures using Oracle - 11-18-2007 , 11:06 AM






Hi All,
We are working on a web application being developed in Visual Studio 2005
with
oracle 9i database. One of our oracle stored procedure returns table objects.
While executing this stored procedure using OracleCommand
(System.Data.OracleClient)
object, we are having difficulty in adding an output parameter corresponding
to
this, to the OracleCommand object. Appreciate any solution for the same.

Please find below the code snippet of the stored procedure:

CREATE OR REPLACE PACKAGE Investment_Component AS
TYPE NumArray IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
...
PROCEDURE CTE_INVEST_BALANCE_STATUS
(cur_dt_in IN DATE, -- current system business date
ccy_in IN VARCHAR2, -- currency code selection
lob_in IN VARCHAR2, -- Line of business code selection
t_date_cur IN OUT t_cursor,
ArraySize IN INTEGER,
BalAmtArr OUT NumArray,
InvAmtArr OUT NumArray,
DiffAmtArr OUT NumArray,
err_msg_inout IN OUT VARCHAR2);
END Investment_Component;

--
Kumar.A.P.P
Software Engineer, Infosys Technologies Limited.
http://techaid.wordpress.com/

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.