Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Object inheritance
hi,
i want to use the objectrelational features of oralce. so i want to create an objecthierarchy like this.
CREATE TYPE Vertex2i AS OBJECT (x INT, y INT);
now i want to derrive a new Object from the above.
CREATE TYPE Vertex3i .... which now should get all attributes from Vertex2i and its own attributes.
is it possible to do this without doing it like CREATE TYPE Vertex3i AS OBJECT(z INT, v2 Vertex2i);
since i want to use the Attributes(collumns) from Vertex2i directly.
thanx
andre reschke Received on Thu Jul 13 2000 - 00:00:00 CDT
![]() |
![]() |