Re: .NET & Oracle Ref Cursor
anonymous_at_discussions.microsoft.com
Date: 12/17/04
- Previous message: Maqsood Ahmed: "Re: Problem creating FileInfo Array"
- In reply to: Bishoy Ghaly: "Re: .NET & Oracle Ref Cursor"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 17 Dec 2004 05:14:19 -0800
We would like to store the sql statement outside of
the .NET application. We were originally thinking that a
stored procedure would be the best option (so that we
wouldn't have to change the .NET code if we needed to only
change the SQL statement).
if we could use the ref cursor, I think that would be the
best option for us. But I'm not sure about the efficiency
and what I need to do in .NET to make this work. (I'm a
newbie to .NET).
>-----Original Message-----
>in .NET why dont you use standard OracleClient Connection
and command and
>DataAdapter to return a DataSet of the result rows ?
>
>"devchick25" <anonymous@discussions.microsoft.com> wrote
in message
>news:0b5f01c4e3c7$8c91f7f0$a401280a@phx.gbl...
>> Hi,
>>
>> I am creating a service that uses an Oracle backend. I
>> need to use a stored procedure/package to return a
>> resultset from Oracle. In other words, I cannot use a
>> direct select in the .NET code. The resultset may be
>> zero, one, or many rows. Therefore, I have looked into
>> using something that Oracle refers to as a ref cursor.
>>
>> Is the ref cursor what I'm looking for?
>>
>> How does .NET return a stored procedure that uses a ref
>> cursor? Is it a result set? Any explanation or
examples
>> would be greatly appreciated.
>>
>> Thank you!
>
>
>.
>
- Previous message: Maqsood Ahmed: "Re: Problem creating FileInfo Array"
- In reply to: Bishoy Ghaly: "Re: .NET & Oracle Ref Cursor"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|