B
Brian McCullough
Hello all...
I have an application that needs to be able to associate a name with a
variation of the name. For example Elizabeth vs Liz/Beth.
I was thinking of building two tables:
GivenName
GivenNameVariation
The columns in the GivenName table are pretty straight forward:
GivenNameId autonumber,PK
GivenName char(35)
I was thinking of making the following columns in the GivenNameVariation
table:
GivenNameId int
GivenNameVariationId int
-together they would make up the primary key of the GivenNameVariation
table.
The problem is that I do not want to confuse other developers who might look
at this and see the GivenNameVariationId column and think that this could be
the Primary Key....
What is the *appropriate* naming convention to use when you have a table
with two columns that refer to the same column in another table?
Thanks!!!
Brian
I have an application that needs to be able to associate a name with a
variation of the name. For example Elizabeth vs Liz/Beth.
I was thinking of building two tables:
GivenName
GivenNameVariation
The columns in the GivenName table are pretty straight forward:
GivenNameId autonumber,PK
GivenName char(35)
I was thinking of making the following columns in the GivenNameVariation
table:
GivenNameId int
GivenNameVariationId int
-together they would make up the primary key of the GivenNameVariation
table.
The problem is that I do not want to confuse other developers who might look
at this and see the GivenNameVariationId column and think that this could be
the Primary Key....
What is the *appropriate* naming convention to use when you have a table
with two columns that refer to the same column in another table?
Thanks!!!
Brian