Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: [No Subject]

Re: [No Subject]

From: Michael Sun <mikeny31_at_speakeasy.org>
Date: Sun, 20 Aug 2000 22:16:57 -0400
Message-Id: <10595.115063@fatcity.com>


If I am not mistaken, that is being done routinely. Here is an example:

BEGIN
   TYPE local_rec IS RECORD (

   ename                    emp.ename%TYPE,
   sal                          emp.sal%TYPE,
   dept_no                 emp.dept_no%TYPE);

   TYPE local_cur IS REF CURSOR RETURN local_rec;

   TYPE local_cur2 IS REF CURSOR;
END;
/

Michael

> Is it possible to create a reference cursor manually without creating from
query running on actual table.And how ?
> Thanks in advance.
> Ajay
> --
> Author:
> INET: ajay_at_tems.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
Received on Sun Aug 20 2000 - 21:16:57 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US