Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Creating types in Orace 9i: why it doesn't work?
Hello,
Just wondering if anyone had the problem creating types in Oracle 9i (I'm
trying to explore object-oriented features of Oracle).
The strange thing is that it goesn't give any error when I execute the
following (I've tried both Toad and SQLPlus):
create type Persontype
(
PersNr integer,
Name varchar(30),
primary key (EmpNr)
);
, but it gives "invalid datatype" error when I execute the following:
create table Student of persontype;
Any help would be appreciated.
Thanks a lot,
Roman Zhovtulya
Database Lab
roman_at_fh-offenburg.de
![]() |
![]() |