Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Objects in Packages?
On Feb 25, 2:57 pm, "Michael42" <melliot..._at_yahoo.com> wrote:
> Hello,
>
> in Oracle 10g R2 can Packages contain Objects (TYPE MyObj AS
> OBJECT...) as it does with functions and procedures?
>
> Thanks,
>
> Michael
Try it and find out.
If you can code it in a function or procedure then since you can place that function or procedure in a package it is logical to conclude that you can use object type in packages (since version 8.0).
Perhaps if you actually posted some actual code with actual error messages (just enough code to reproduce problem) someone will take the time to help you out.
HTH -- Mark D Powell -- Received on Sun Feb 25 2007 - 14:04:32 CST