Primary Key

Jeanette

Registered User.
Local time
Today, 12:24
Joined
Dec 17, 2001
Messages
52
Hello, I have a DB with 17 tables and most of the the Primary Key for each table is alphanumeric. I want to change all the Primary Keys in each table to an autonumber. If all my tables have an autonumber as a Primary Key would this cause a problem with creating queries or forms? I am a novice at Access so I am not sure what is best used for Primary Keys.
 
I do not believe that the surrogate key is the only option for primary keys. The people who recommend that, talk in terms of speed, storage, etc. However, when your db is never going to contain millions of rows, you are unlikely to achieve any real performance enhancement and unless your text key is excessively large you won't see much in the way of storage reduction. Why do you feel it necessary to redo your primary keys?
 
Might you not find yourself having to reconsider foreign keys within your database too?
 
Thanks for your quick response. The reason I was thinking of changing the primary keys is so that it would be easier for the data entry person to not have to enter an unique ID for each new record added. As it would cause to many problems to change all the primary keys, I decided not to.
 

Users who are viewing this thread

Back
Top Bottom