How to pass string array to oracle function?
I need to call oracle function that takes a string array (table of varchar2) as one of the parameters. This is oracle 8, i am trying to find a way with oledb or oracleclient but cannot find any type in .net to support it. Is it possible? Has anybody tried it? Thanks.
This is handled on the Oracle side
The key here is declaring a
create or replace type myTableType as table
of varchar2 (255);
create or replace
function in_list( p_string in varchar2 ) return myTableType
l_string long default p_string || ',';
...Passing boolean values to oracle function / procedure from C#.Net
I dont know how to pass boolean values to oracle function / procedure arguments, could you please help me to know ?
After spending lot of time on google, I understand C#.Net doest support PL/SQL boolean values.
Sreedhar...vb.net function and Oracle procedure to get an Oracle Dataset??
I have similar code (a procedure and function) working perfectly with a sql server data source. I;'m trying to do the same things with Oracle, but have run into the problems.
I'm not an oracle expert, so I'm not sure if producing a cursor is my only and best option.
create or replace package body PK_RETAILER isPROCEDURE sp_Get_Order_History(v_ani IN number,output_cursor out PK_CURSORES.generic_cursor) ASBEGINopen output_cursor forselect o.account_number, p.phone, o.amount, o.name, o.init_datefrom orders ojoin users_phones p on p.account_number...Pass string array to oracle stored procedure.
Am trying to pass a string array to an ORACLE 8i stored procedure, I have
tested the procedure on the server and know it works, PB7 is giving me any
error though when trying to save ;
'variable reference in database statement has unsupported data type'
My PB code is;
lsa_inp_key = '1900000137'
lsa_inp_key = '1900000139'
lsa_inp_val = 'ORCLEVAL'
lsa_inp_val = 'YES'
ld_sys_ed_key = 0123456789
DECLARE insert_into_system_inputs PROCEDURE FOR
...How call a Oracle Function using Microsoft .Net Oracle Client (System.Data.OracleClient)?
I try to call Oracle Function in .net C# by using System.Data.OracleClient. But i am not successful.
Here is my code
( vten varchar2)
RETURN boolean IS
select monthethao_id into montt_id from TTHAO_MONTHETHAO
where ten = vten;
if montt_id!=-1 then
when others then
I do not know, when I call function TTHAO_MONTT_E...How to pass oracle connection string to crystal report in .net
i am using reportdocument class of crystal report
i have oracle connection string ,
i need to pass this connection dtring to reportdocument ...
Actually there is no need to set seperate connectionstring for crystal report, in your case you fetch some records from DB and fill into the Dataset afterwards you just pass the DataSet.Tables into DataSource property of the crystal report.If this post is answer of your question then don't forgot to Click Mark As Answer...Oracle SP call, passing INOUT String array, nulls ?
Anyone have an idea for either a workaround or explanation for the
following: I've got an SP that accepts an unbounded string array as an
INOUT argument -- when passing a 'full' array, where every element has
at least one character, the procedure works properly. However, when
passing an array that has one or more nulls as elements, the call fails
with no explicit warnings or errors. (BTW, I'm calling this within an
EAServer PB Component).
The SP works when called from PL/SQL, null elements or not. It appears
that PB won't (can't?) send an array of strings ...urgent: .NET Provider for Oracle or Oracle Data Provider for .NET
If I want to access Oracle DB in ASP.NET application, and I am using .NET Provider for Oracle or Oracle Data Provider for .NET, should I have to install OracleClient on my .NET server? Is there other choice? Thank you very much.Johnson
Johnson2007:should I have to install OracleClient on my .NET server? You have to options1. install the ODP.NET on your web serverOR2. put the oracle assemblies in your BIN directory
Hi jimmy,Thank you for you reply. Because I could not find a server right now, I should test it first before I agree or disagree with you, as most articles I....NET Oracle Provider
Hi all,I am using .NET 2.0 Frameworks Oracle provider and it does not have a OracleDbTypes Type for me to use. I would like to create a parameter that is of the Oracle type NVARCHAR, but it seems I can only use DbTypes, which does not have this. If I used DbTypes.String, would this be ok, otherwise, how else can I be more specific about the Oracle Parameter data type?Thanks
can u explain which type of data u r going to storeThank uBaba Thank uBabaPlease remember to click "Mark as Answer" on this post if it helped you.
What's your version of ODP? You have OracleD...Pass arrays to Oracle
I am passing PowerBuilder string-arrays to Oracle Stored Procedures, and
receiving the array in procedure via PL/SQL tables. I am pre-populating the
array in PB using SPACE function.
What I want to know is are there any LIMITATIONS using the PB-array & Oracle
any help appreciated.
We use this method extensively on PB 6.5.1, O7 and 8i, no problems yet. The
largest array I am sure of is 765 [one per day for current month and a year
seeker wrote in message ...
>I am passing PowerBuilder string-arrays to Oracle Stored Procedures, and
>receivi...Return an Oracle Ref Cursor to a .NET DataReader object by using the .NET Managed Provider for Oracle
I am wondering if anyone in this community knows the shorter way to return an Oracle Ref Cursor to a .NET DataReader object by using the .NET Managed Provider for Oracle, something likereturn (IDataReader) SqlHelper.ExecuteReader(ConnectionString, "GET_ACCOUNT", Id);
instead of using the way below (look at the C# code)
Stored Procedure create or replace PROCEDURE "GET_ACCOUNT"
p_ID IN ACCOUNT.ID%type, retCursor OUT SA.MYGEN.sqlcur
OPEN retCursor FOR
ID = p_ID
...Which .Net Provider for Oracle 9i Microsoft or Oracle
Can anyone provide me pros and cons of provider to access Oracle Database ? I am aware of Microsoft Provider and Oracle Provider.
I guess you can use either. But as some post suggests, if both installed, then MS ODP will not work.
I've been using DataDirect Technologies Connect for .Net and Oracle. It's not free, so it depends on your budget.
The speed improvements were great for us, and it's ni...Oracle ODP.net mulitple Oracle Client
To connect to the oracle database using ODP.net, the applicate must add the dll file called Oracle.DataAccess.
There are a lot of version of Oracle.DataAccess. As I know, if the client use Oracle Client 10g Release 2.
If the client use Oracle Client 10g Release 2, the application also have to use the Oracle.DataAccess the come from Oracle Client 10g Release 2.
My question is that there are any method to add more than one Oracle.DataAccess version in my product to support multiple OracleClient.
That should automatically happen for the most part. Oracle's ODP.NET i...which is shou i use? Microsoft .NET Framework 1.1 Data Provider for Oracle and the Oracle Data Provider for .NET
Microsoft .NET Framework 1.1 Data Provider for Oracle and the Oracle Data Provider for .NETI am confused?Which is better or which one should I use?BTW, I am going to use .net 2.0 with oracle 9. Can anyone tell me what shou I use for working with oracle database?Thanks very much in advance!Justin
Oracle's data provider has more functionality than Microsoft's.If your doing transaction processing you can have SAVEPOINTs, which Microsoft's data provider does not provide.Also, Oracle has PL/SQL Associative Arrays which are very powerful.Oracle also allows you to bind parameters by name and pos...