K
Kevin K. Sullivan
I'm creating a table to hold conference call minutes. Each call must
have exactly one Study, exactly one CallType, and exactly one CallDate.
I'm torn between two designs. Do I use a three-field composite primary
key or do I create a CallID Autonumber as PK and add a composite index
to the three fields? What are the pros and cons of each? TIA, Kevin
table Calls:
Study TEXT(10)
CallType TEXT(15)
CallDate DATETIME
(all above constitute PK)
Minutes Memo
vs.
CallID AUTONUMBER - PK
Study TEXT(10)
CallType TEXT(15)
CallDate DATETIME
(index on above 3 fields)
Minutes Memo
have exactly one Study, exactly one CallType, and exactly one CallDate.
I'm torn between two designs. Do I use a three-field composite primary
key or do I create a CallID Autonumber as PK and add a composite index
to the three fields? What are the pros and cons of each? TIA, Kevin
table Calls:
Study TEXT(10)
CallType TEXT(15)
CallDate DATETIME
(all above constitute PK)
Minutes Memo
vs.
CallID AUTONUMBER - PK
Study TEXT(10)
CallType TEXT(15)
CallDate DATETIME
(index on above 3 fields)
Minutes Memo