Designer Question - Arc

  • From: "Tirumala, Surendra (WFD-FK)" <Surendra.Tirumala@xxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Tue, 11 Jan 2005 08:10:52 -0500

Hello All,

I have a child table "A" which has three mutually exclusive FKs to three
different PKs(on tables "B","C" and "D").
Concluding that this is a straight forward case to use Arc concept in
Designer, I have compelted the design.
Now I am working on enforcing the mutually exclusiveness. 
As "Generate TAPI" gives some skeleton code for this purpose,
can anyone please let me know if you have evaluated this code and used it?

I am not quite sure how far I should go.
To begin with, I am thinking of using some simple check constraints to check
only one of the three columns is NOT NULL
and others are NULL.

Please share some thoughts.

Surendra Tirumala


Other related posts: