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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Why cannot perform select * within a proc

Re: Why cannot perform select * within a proc

From: ggarrison <ggarrisonsr_at_hotmail.com>
Date: Thu, 24 Jun 1999 21:09:49 -0800
Message-ID: <930287391.4129@www.remarq.com>


Thanks for the input but still having a problem with scope I believe. The following is a function and the errors:

FUNCTION PO8.F_TESTSELECT RETURN types.cursortype as

l_cursor types.cursorType;
begin
open l_cursor for select ename, empno from emp order by ename;
return l_cursor;
end;

PLS-00201: identifier 'TYPES.CURSORTYPE' must be declared PL/SQL: Compilation unit analysis terminated

Thanks again

Received on Fri Jun 25 1999 - 00:09:49 CDT

Original text of this message

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