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

Home -> Community -> Usenet -> c.d.o.server -> Why can't I have an object with no attributes?

Why can't I have an object with no attributes?

From: Richard Kuhler <noone_at_nowhere.com>
Date: Wed, 11 Jun 2003 19:02:44 GMT
Message-ID: <o1LFa.48388$49.1470796@twister.socal.rr.com>


Why can't I have an object with no attributes? How else can I make an interface definition? How can I extend an object with additional methods but no additional attributes?

For example ...

create or replace type tobj is object (

    member function foobar

        return varchar2
    );
/

show errors

PLS-00589: no attributes found in object type "TOBJ"

Thanks,
Richard Received on Wed Jun 11 2003 - 14:02:44 CDT

Original text of this message

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