In situations where the primary key of a table consists of more than 1 field in a table, what would be the best way to deal with it:
1) Create a new primary Key, based on the fields in question?
2) Create a completely new primary key, probably autonumber or something?
3) Use All the relevant fields as a combined primary Key?
And, assuming that this primary key is also used as a key in another table (primary or foreign), how would you link the 2 tables, esp. if you have used multiple fields as primary key?
Please give reasons/examples for your answer, I'm considering making some rather large changes to some complicated tables and am trying to figure out any pitfalls in all the options I can take...
Thanks
--------------------
Procrastinate Now!
1) Create a new primary Key, based on the fields in question?
2) Create a completely new primary key, probably autonumber or something?
3) Use All the relevant fields as a combined primary Key?
And, assuming that this primary key is also used as a key in another table (primary or foreign), how would you link the 2 tables, esp. if you have used multiple fields as primary key?
Please give reasons/examples for your answer, I'm considering making some rather large changes to some complicated tables and am trying to figure out any pitfalls in all the options I can take...
Thanks
--------------------
Procrastinate Now!