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 -> How to implement SubType/SuperType in Oracle ?

How to implement SubType/SuperType in Oracle ?

From: <xtanto_at_hotmail.com>
Date: 14 Jun 2005 03:51:49 -0700
Message-ID: <1118746309.163235.138790@g14g2000cwa.googlegroups.com>


Hi,

I have a supertype and three subtypes, as attached below, how is the best approach to implement it in Oracle (9i/10g) ?

Thank you for your help,
Krist

Supertype : Employee
  Employee_Number
  Employee_Name
  Address
  Employee_Type
  Date_Hired

SubType : Hourly_Employee
  Hourly_Rate

SubType : Salaried_Employee
  Annual_Salary
  Stock_Options

SubType : CONSULTANT
  Contract_Number
  Billing_Rate Received on Tue Jun 14 2005 - 05:51:49 CDT

Original text of this message

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