G
Guest
Hi everyone
I use Access 2003 and have seen several sample databases which have at least
one table with multiple keys. I understand that there can be only one
Primary Key per table and what I'm seeing is a situation of several fields
contributing to the Primary Key and each having the key symbol next to it in
Design View.
I suppose that if I were creating the table, I'd create an absolutely unique
Primary Key (such as an Autonumber, Social Security Number, Staff ID Number
etc.). As I'm fresh to this, is there some good reason why the designers of
these databases preferred to have several fields contributing to the Primary
Key, rather than add another field which could be a single unique Primary
Key? I know that this may mean having an extra field but is that the only
reason to do it this way. I'd add that the samples that I've seen have been
in "reputable" areas/websites etc., rather than having been created by
someone who doesn't know what they're doing (like me!).
Thanks in advance.
I use Access 2003 and have seen several sample databases which have at least
one table with multiple keys. I understand that there can be only one
Primary Key per table and what I'm seeing is a situation of several fields
contributing to the Primary Key and each having the key symbol next to it in
Design View.
I suppose that if I were creating the table, I'd create an absolutely unique
Primary Key (such as an Autonumber, Social Security Number, Staff ID Number
etc.). As I'm fresh to this, is there some good reason why the designers of
these databases preferred to have several fields contributing to the Primary
Key, rather than add another field which could be a single unique Primary
Key? I know that this may mean having an extra field but is that the only
reason to do it this way. I'd add that the samples that I've seen have been
in "reputable" areas/websites etc., rather than having been created by
someone who doesn't know what they're doing (like me!).
Thanks in advance.