L
Lars Brownies
I'm further experimenting with normalization, not finding it easy. I have
these 3 tables:
tblPerson
ID_person*
LastName
FirstName
Etc.
tblPhone
ID_phone*
Phonenumber
BusinessPrivate
MobileStandard
tblPersonPhone
ID_person*
ID_phone*
First of all I find it hard to think of meaningful names for the category
fields BusinessPrivate and MobileStandard, and if I should make Yes/No
fields of them, since both fields can only have 2 values. Secondly, I want
to add emailaddresses to the database. Should I change the tblPhone table to
tblCommunication and field Phonenumber to Communication_name, as shown
below? So that I can store phonenumber and emailaddresses in the same field?
But MobileStandard is not an applicable field for emailaddresses which makes
me think email addresses should be in a separate table. Further, if I want
to run queries for emailaddresses I always have to exclude the phonenumber.
I'm now thinking I need a different table for email addresses.
tblCommunication
ID_communication*
Type
Name
BusinessPrivate
MobileStandard
Can someone give me some advice on this one?
Thanks,
Lars
these 3 tables:
tblPerson
ID_person*
LastName
FirstName
Etc.
tblPhone
ID_phone*
Phonenumber
BusinessPrivate
MobileStandard
tblPersonPhone
ID_person*
ID_phone*
First of all I find it hard to think of meaningful names for the category
fields BusinessPrivate and MobileStandard, and if I should make Yes/No
fields of them, since both fields can only have 2 values. Secondly, I want
to add emailaddresses to the database. Should I change the tblPhone table to
tblCommunication and field Phonenumber to Communication_name, as shown
below? So that I can store phonenumber and emailaddresses in the same field?
But MobileStandard is not an applicable field for emailaddresses which makes
me think email addresses should be in a separate table. Further, if I want
to run queries for emailaddresses I always have to exclude the phonenumber.
I'm now thinking I need a different table for email addresses.
tblCommunication
ID_communication*
Type
Name
BusinessPrivate
MobileStandard
Can someone give me some advice on this one?
Thanks,
Lars