Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training Sitemap add this page to your favourites/bookmarksBookmark page
 
view a printable version of this pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

articleAccess Database Optimization: First Normal Form

Proper database design goes beyond techniques learned in Microsoft Access courses. Experience and further training will be necessary for all but the most basic database projects. The practice of database optimization, also called database normalization, is a collection of best practices in database design. The most basic set of these rules is called First Normal Form or 1NF.

Don't Duplicate Fields

Microsoft Access courses teach the basic database grid with each row a record and each column a field within that record. In a database of sales representatives, each row represents one of the sales people. Fields within each record are entries like "name" or "sales territory".

Assume company sales territories are broken out by city. Each city has one rep assigned but each rep has a different number of cities. John Smith might cover Bristol while Mary Jones handles both Cardiff and Newport to have a comparable customer base.

It is a mistake to use multiple territory fields such as City1 and City2. The first rep record would waste space on a blank City2 field. Any city queries would have to search both City1 and City2 fields. If a new rep is added with a 3-city territory, the entire database would have to be rebuilt with a new field.

The Wrong Solution: Combining Fields

An incorrect solution is to have a field called "Territory" and list as many cities as needed. So John is assigned "Bristol" in this field while Mary has "Cardiff, Newport".

Although this seems to solve the problem, it is still duplicative. The queries from your Microsoft Access course would have to be structured to search parts of the field using wildcards and that means slower response. Updating a field means updating the entire list, which could be difficult for a rep who serves a dozen small towns.

The Right Solution: Multiple Records Not Multiple Fields

Don't try to get duplicative information into a single record. Although it seems intuitive to have one record for each employee, as long as each record is unique a better option is to have multiple records.

The above example would have three records: John Smith - Bristol, Mary Jones - Cardiff and Mary Jones - Newport. Since the employee table is likely to have other information that there is no reason to repeat like salary, the territory data should be stored in a separate table.

In order to link the main employee table with the territory table, there needs to be a field in common. The obvious choice is employee name. Obvious, that is, until a second John Smith is hired.

As is taught in Microsoft Access courses, use an employee ID field in the main employee table. Use that ID instead of employee name in the territory table. It not only ensures uniqueness of identifier, but cuts down on errors such as a query for Mary Jones showing only one territory because the other was assigned to "Mray Jones".

Author is a freelance copywriter. For more information on a microsoft access course, please visit http://www.microsofttraining.net


Original article appears here:
http://www.microsofttraining.net/article-308-microsoft-access-course.html


Back to article list

Distribution notes

PUBLICATION GUIDELINES

  • You have permission to publish this article for free providing the "About the Author" box is included in its entirety.
  • Do not post/reprint this article in any site or publication that contains hate, violence, porn, warez, or supports illegal activity.
  • Do not use this article in violation of the US CAN-SPAM Act. If sent by email, this article must be delivered to opt-in subscribers only.
  • If you publish this article in a format that supports linking, please ensure that all URLs and email addresses are active links, without the rel='nofollow' tag.
  • Software Training London Ltd. owns this article. Please respect the author's copyright and above publication guidelines.
  • If you do not agree to these terms, please do not use this article.

Rate this page:
2.8/5 (129 votes cast)
Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses
Microsoft Certified Partner
Security Seal verified by visa, mastercard securecard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Management training

Professional Skills courses
Project Management Course London
Project Management Courses London
Project Management Training London
Project Management Training
Project Seminar
Project Seminars
Time Management Course London
Time Management London
Time Management Courses London
Time Management Training London
Introduction to Finance course
Assertiveness Skills course
Effective Communications Skills training
Presentation Skills London

Training Formats

Public scheduled courses
On-site training
Closed company courses

Consultancy
Application Development

Blogs

Excel Training
MS Project Training
Microsoft Training Blog

Version differences

Office 2010 vs 2007
MS Project version differences

Training Information

London Computer Training
Computer Training London
Docklands Training Courses
Docklands Training London

Training venues London
Client list
FAQ
Pricing and availability
Course details / Syllabus

Training Articles
Training Information

Microsoft training

Microsoft Office training
& IT Applications

Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training
MS Project courses
MS Project training
Outlook courses
PowerPoint courses
PowerPoint training
VBA courses
Word courses
Microsoft.training
(more...)

Excel Training

Excel courses
Excel Training Courses Medway
Autonumber in Excel
Microsoft Excel training
Basic Excel Courses
Basic Excel Course
Basic Excel Training

Interested in MS Access training?

Access courses
Microsoft Access training
Microsoft access courses
Microsoft training access course
Microsoft+access+training
Access courses in london

Training provider

Training providers
IT training companies
IT training providers
Management Training providers
Management Training provider

Event history, feedback results
Events in 2012 · 2011 · 2010 · More

See also

Crystal Reports training