Saturday, 28 September 2013

Type Inheritance in oracle 10g

Type Inheritance in oracle 10g

I am trying to implement type inheritance in oracle 10g
HERE is my code
create type stud_detail as object (stud_id number(5), stud_name
varchar(8)); /
create type stud_result under stud_detail as (status(P/F)? char(1)); /
I get this error
ERROR at line 1: PLS-00103: Encountered the symbol "AS" when expecting one
of the following:
. ( not external JAVA_ BOUND_ 1. create type stud_result under stud_detail
as object 2. (status(P/F)? char(1));

No comments:

Post a Comment