Book a Demo

Author Topic: Data Modelling Issue  (Read 2456 times)

rhoff999

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Data Modelling Issue
« on: May 27, 2005, 05:50:08 am »
I cannot seem to be able to create multiple Foreign Keys to the same table.

Lets say I have two tables, tblChild (PK ChildID) and tblParent (PK ParentID) and I want to have two columns defined in tblChild:
NiceParentID
MeanParentID

I cannot in the Table Designer create two FK associations.  This forces me to keep these Foreign Key definitions outside of the model, which will become a maintenance nightmare.  I also do not want to normailze tblChild to remove the dual uses of a column in a single table.  Any help would be appreciated.




Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Data Modelling Issue
« Reply #1 on: May 27, 2005, 10:32:03 am »
Hi,

what exactly is the problem? I just tried drawing two associations between the two tables, and everything seemed to be ok.

Bruno

Quote
I cannot seem to be able to create multiple Foreign Keys to the same table.

Lets say I have two tables, tblChild (PK ChildID) and tblParent (PK ParentID) and I want to have two columns defined in tblChild:
NiceParentID
MeanParentID

I cannot in the Table Designer create two FK associations.  This forces me to keep these Foreign Key definitions outside of the model, which will become a maintenance nightmare.  I also do not want to normailze tblChild to remove the dual uses of a column in a single table.  Any help would be appreciated.