Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Package procedure as inline view
yes, but FUNCTIONS not Procedures
Look into
1) Pipeline Functions and
2) Function that return Table of Objects
e.g on (2):
CREATE OR REPLACE TYPE emp_obj IS OBJECT(
EMPNO NUMBER,
ENAME VARCHAR2(10),
JOB VARCHAR2(9), MGR NUMBER, HIREDATE DATE, SAL NUMBER, COMM NUMBER,
FUNCTION earned_premium_schedule
(p_ename emp.ename%type) RETURN emp_obj_tab
is
begin