Re: Returning CURSORS from ORACLE STORED FUNCTIONS
- From: "rpbinphilly" <rbrandt@xxxxxxxxxxx>
- Date: 12 May 2005 10:05:49 -0700
But the gist of this is = "Stored Functions are NOT supported via the
Microsoft .NET PRovider? Is that documented anywhere?
Thanks very much.
Cowboy (Gregory A. Beamer) - MVP wrote:
> You can wrap the function in a sproc and get it working. Not a
"great"
> option, but it works.
>
> To your question of compatibility: OracleClient is 8i compatible and
has
> some 9i functionality. Overall, I prefer ODP.NET (otn.oracle.com -
free
> download) to OracleClient for all but simple Oracle stuff.
>
>
> ---
>
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> ***************************
> Think Outside the Box!
> ***************************
>
> "rpbinphilly" wrote:
>
> > Hi.
> > I have not been able to get a PLSQL stored FUNCTION to return a ref
> > cursor. (Stored Procedures work fine.)
> >
> > I get a ORA-06550 return codes, and other similar messages that
> > indicate that the C# OracleParameter should be of Direction type =
> > Output. Event though a call to .DeriveParameters returns a param of
> > type ReturnValue...
> >
> > It is a simple PLSQL function that returns a ref cursor and accepts
no
> > input parameters.
> >
> > I am using Oracle 10G and .NET Framework 1.1.
> >
> > Has anyone else experienced problems with this? Are there any known
> > limitations to the Microsoft .NET Oracle Provider? Any good sources
of
> > info?
> >
> > Any and all enlightenment gratefully received.
> >
> > Thanks in advance.
> >
> > rpb
> >
> >
.
- Follow-Ups:
- Re: Returning CURSORS from ORACLE STORED FUNCTIONS
- From: mr fox
- Re: Returning CURSORS from ORACLE STORED FUNCTIONS
- From: Eric
- Re: Returning CURSORS from ORACLE STORED FUNCTIONS
- References:
- Returning CURSORS from ORACLE STORED FUNCTIONS
- From: rpbinphilly
- RE: Returning CURSORS from ORACLE STORED FUNCTIONS
- From: Cowboy (Gregory A. Beamer) - MVP
- Returning CURSORS from ORACLE STORED FUNCTIONS
- Prev by Date: RE: Turkish_CI_AS database trying to open a table
- Next by Date: SqlHelper Block - Are all of these shared/static methods good?
- Previous by thread: RE: Returning CURSORS from ORACLE STORED FUNCTIONS
- Next by thread: Re: Returning CURSORS from ORACLE STORED FUNCTIONS
- Index(es):