Microsoft Knowledge Base Email Alertz

KBAlertz.com: (292799) - The Table Analyzer Wizard can help you create a relational database from a set of data. When you use the Table Analyzer Wizard, you do not have to know relational database design principles. This article explains how the Table Analyzer Wizard...

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 292799 - Last Review: April 9, 2007 - Revision: 5.1

How the Table Analyzer Wizard works

This article was previously published under Q292799
Novice: Requires knowledge of the user interface on single-user computers.

This article applies only to a Microsoft Access database (.mdb) or a Microsoft Office Access 2007 database (.accdb).

For a Microsoft Access 2000 version of this article, see 208679  (http://kbalertz.com/Feedback.aspx?kbNumber=208679/EN-US/ ) .
For a Microsoft Access 97 version of this article, see 140636  (http://kbalertz.com/Feedback.aspx?kbNumber=140636/ ) .

On This Page

SUMMARY

The Table Analyzer Wizard can help you create a relational database from a set of data. When you use the Table Analyzer Wizard, you do not have to know relational database design principles. This article explains how the Table Analyzer Wizard deciphers a single-table database and proposes a way of splitting the original table into a set of related tables.

MORE INFORMATION

The Table Analyzer Wizard can automatically analyze a nonrelational database and "normalize" it for you. Normalization is the process of taking a single-table database and breaking it into a set of smaller, related tables, with each table focused on a single topic or grouping of information.

A normalized relational database has a number of advantages over a nonrelational one. First, updating information is faster and easier because fewer data changes are required. Second, only the minimum information is stored; therefore, the database is smaller. Finally, a relational database keeps data consistent automatically because data is stored once.

Although the Table Analyzer Wizard can help you create a relational database, if you have database experience, the Table Analyzer Wizard enables you to modify any suggestions it makes. You can split up tables, rearrange fields in tables, and create relationships between tables. You can modify Table Analyzer Wizard decisions during every step of the database-creation process.

How to Run the Table Analyzer Wizard

To run the Table Analyzer Wizard, follow these steps:
  1. In Microsoft Office Access 2003 or in Microsoft Access 2002, point to Analyze on the Tools menu, and then click Table.

    In Microsoft Office Access 2007, click the Database Tools tab, and then click Analyze Table in the Analyze group.
  2. Follow the instructions in the Table Analyzer Wizard dialog boxes. Note that the first two dialog boxes explain what normalization is and why it is useful. The third dialog box asks if you want to manually split a database or if you want to let the wizard do it for you.

How the Table Analyzer Wizard Works

If you choose to let the Table Analyzer Wizard split a database, the Table Analyzer Wizard runs through the following process:
  1. The Table Analyzer Wizard starts with a single-table database, which can be any set of data created with, or imported into, Microsoft Access. The wizard then breaks the table into a set of smaller tables. Each of these smaller tables contains the minimum set of information that is grouped together.
  2. The wizard looks for unique values that can identify a grouping of data. These unique values are labeled as primary keys for each of the groupings. If no unique value is identified, the wizard creates a primary key using an auto-incrementing long integer field. In addition, the wizard creates a foreign key in related tables.
  3. The wizard creates relationships that control how the new tables work together. These relationships enforce referential integrity (data consistency) with cascading updates. The wizard does not automatically add cascading deletes to the relationships because of the risk that you may accidentally delete large portions of data.
  4. The wizard creates an initial proposal and asks you to confirm or change it.
  5. If you confirm the proposal, the wizard then searches the new tables for inconsistent data (for example the same customer with two different phone numbers) and presents a list of records that you can change or accept.
  6. Finally, you can choose to create a query that simulates the original, single-table database. The wizard first backs up the original table and renames it by appending "_OLD" to its name. Then, the wizard creates a query using the original table name. This assures that any existing forms or reports based on the original table will work with the new table structure.

APPLIES TO
  • Microsoft Office Access 2007
  • Microsoft Office Access 2003
  • Microsoft Access 2002 Standard Edition
Keywords: 
kbhowto KB292799
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please