Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Objects in Packages?
Mark,
>> Try it and find out.
Yep I tried it before posting.
The error I get for below code is: "object not supported in this context.".
I can create standalone objects. I can create functions and prcedures in my packages.
What can you suggest?
Thanks,
Michael
create or replace
PACKAGE PK1 AS
PROCEDURE home;
TYPE MsgBox AS OBJECT (
Title varchar2(50),
Message varchar2(2000),
MEMBER PROCEDURE setTitle (pTitle IN varchar2 DEFAULT NULL),
MEMBER PROCEDURE setMessage (pMessage IN varchar2 DEFAULT NULL),
MEMBER PROCEDURE displayMsg
);
END PK1; Received on Sun Feb 25 2007 - 14:35:58 CST
![]() |
![]() |