Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > AutoNumber Good Bad < Sync Remote | Odd or Even >
AutoNumbers Good or Bad?
By Richard Rost   Richard Rost on LinkedIn Email Richard Rost   4 years ago

Are AutoNumbers Good or Bad as Primary Keys in Access?


 S  M  L  XL  FS  |  Slo  Reg  Fast  2x  |  Bookmark Join Now

I hear a lot of criticisms and arguments against using AutoNumbers as the primary key field in Microsoft Access databases. In this video, I will examine exactly what AutoNumbers are, when they should be used, when you might not want to use them, what those arguments against them are, and of course, my counters to those arguments. 

Craig asks, "I'm taking a college course and the instructor gave us a homework assignment. He wants us to create a table to store vehicles where the Primary Key is the VIN. I thought you said to always use AutoNumbers. Who's right here?"

Members

There is no Extended Cut for this video

Topics Covered

  • What is a Key Field
  • What is a Primary Key Field
  • Primary and Foreign Key Fields
  • Types of Keys: Natural vs. Synthetic (Surrogate)
  • What is an AutoNumber
  • Why Use AutoNumbers
  • When NOT To Use AutoNumbers
  • The German Tank Problem
  • Arguments Against AutoNumbers (and my counters)
  • Random AutoNumbers and GUIDs

Conclusion

AutoNumbers are easier to use than natural keys or text. Access maintains them automatically and they provide a more stable database than Natural Keys. Generally, AutoNumbers save disk space and increase database performance. They decrease total cost of ownership. Other options are available to provide the user with visible identifiers for records, such as order numbers, so as not to give up business intelligence, however an Autonumber should be the primary key for MOST tables you build, with few exceptions.

Side Videos

References and Research

Learn More

FREE Access Beginner Level 1
FREE Access Quick Start in 30 Minutes
Access Level 2 for just $1

Free Templates

TechHelp Free Templates
Blank Template
Contact Management
Order Entry & Invoicing
More Access Templates

Resources

Mailing List - Get emails when new videos released
Consulting - Need help with your database
Tip Jar - Your tips are graciously accepted

Questions?

Please feel free to post your questions or comments below or post them in the Forums.

 

Comments for AutoNumbers Good or Bad?
 
Age Subject From
2 yearsReplace Keys with AutoNumbersThomas Gonder
2 yearsWhen Not to Use AutonumbersThomas Gonder
2 yearsHere or in the ForumThomas Gonder

 

Start a NEW Conversation
 
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
 
Subscribe
Subscribe to AutoNumbers Good or Bad?
Get notifications when this page is updated
 
 
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 10/10/2024 12:50:00 AM. PLT: 1s
Keywords: TechHelp Access AutoNumbers Good or Bad Surrogate Key Primary Key Synthetic Key german tank  PermaLink  AutoNumbers Good or Bad? in Microsoft Access