Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle function returning rows
On Aug 16, 9:05 am, ind_123 <dhulap..._at_gmail.com> wrote:
> How can I write an oracle function that can return a set of rows? this
> is what I am doing now. It doesnt work.
> create or replace FN_ABCD
> (
> reportdate in DATE
> )
> RETURN types.ref_cursor
> as
> l_cursor types.ref_cursor;
>
> begin
> open l_cursor for
> SELECT.....
>
> return l_cursor;
> end FN_ABCD;
Cross-posting doesn't help you.
A response needing your attention is already posted in comp.databases.oracle.server.
David Fitzjarrell Received on Thu Aug 16 2007 - 09:42:53 CDT
![]() |
![]() |