A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

your advice on tables



 
 
Thread Tools Display Modes
  #1  
Old September 24th, 2008, 10:42 AM posted to microsoft.public.access.tablesdbdesign
Savage
external usenet poster
 
Posts: 13
Default your advice on tables

At the moment i have three tables with the following columns:

Supplier table:
Vendor number (primary key)
Name
Address 1
Address 2
Town
Postcode
Phone
Fax
Group
Description

Iso Table
Vendor number
Name
iso 1
iso2
iso3
iso4
reach

Comments table
Vendor number
name
vendor non conformities
comments

Is this a good layout or can you reckon mend a better table layout

  #2  
Old September 24th, 2008, 11:54 AM posted to microsoft.public.access.tablesdbdesign
Rui
external usenet poster
 
Posts: 63
Default your advice on tables

Can you explain better the last two tables?

why iso1, iso2, iso3?
why do all tables have a name field? and a Vendor number?

"Savage" wrote:

At the moment i have three tables with the following columns:

Supplier table:
Vendor number (primary key)
Name
Address 1
Address 2
Town
Postcode
Phone
Fax
Group
Description

Iso Table
Vendor number
Name
iso 1
iso2
iso3
iso4
reach

Comments table
Vendor number
name
vendor non conformities
comments

Is this a good layout or can you reckon mend a better table layout

  #3  
Old September 24th, 2008, 04:25 PM posted to microsoft.public.access.tablesdbdesign
Armen Stein
external usenet poster
 
Posts: 507
Default your advice on tables

On Wed, 24 Sep 2008 03:54:00 -0700, Rui
wrote:

Can you explain better the last two tables?

why iso1, iso2, iso3?
why do all tables have a name field? and a Vendor number?

"Savage" wrote:

At the moment i have three tables with the following columns:

Supplier table:
Vendor number (primary key)
Name
Address 1
Address 2
Town
Postcode
Phone
Fax
Group
Description

Iso Table
Vendor number
Name
iso 1
iso2
iso3
iso4
reach

Comments table
Vendor number
name
vendor non conformities
comments

Is this a good layout or can you reckon mend a better table layout


Yes, usually seeing numbered fields (iso1, iso2, etc.) means that the
structure isn't normalized. It's harder to query later, and you're
out of luck when iso5 comes along.

Also:

- You have a "Name" field in each table after Vendor Number. I hope
that isn't Vendor Name, since that would be retrievable by joining to
the vendor table.

- Is the Group a lookup to another Group table?

- Don't your Comments need a date for each one? How about the person
making the comment?

- How many non-conformities can be in each Comment? Plural fields are
usually a sign of trouble too.

Have you read Database Design for Mere Mortals (Hernandez)? It's a
great way to learn about database design principles.

Hope this helps,

Armen Stein
Microsoft Access MVP
www.JStreetTech.com

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.