Re: Use relationship or not?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Susanne,

I'm a retired Marine CWO and working out here in 29 Palms CA. I'm now a DOD
civilian and have been designing dB for over 25 years. Your table seems to
me it needs to be normalized. At least to the third normal form. You can
get info from the Internet about how to do this. There are great examples on
the net. I am currently working to fix a dB that has over 50 tables in
relationships. If you understand normalization, then you can easy ask
normalization questions to see if you do infact need all the fields in one
table.

Example. A diver can only where 1 suit at a time. Is this a true statment.
If it is, then you can seperate all the suit info into a table and have a
SuitId to associate the suit to the diver. But each suit can be worn by many
divers.

If you are not familiar with diving, you need to ask your SME's questions to
help you normalize your dB.

Martin Cox

"John W. Vinson" wrote:

On Tue, 23 Dec 2008 10:11:01 -0800, Susanne
<Susanne@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

It's dealing with something for the military, and yes, there are a lot of
fields that they need to keep info on. Not my decision :) I do have some
one to many relationships where they are appropriate, like keeping an
environment log for each dive (yes, diving) every 30 minutes. There is a
bunch of pieces on each suit they need to keep track of (every single piece,
that is why there are so many fields, Serial #s for each type). I do NOT
have a field for each piece, just each of the mandatory items. They are
being very strict in how they want it to display on the screen (as it does on
paper, a specific layout in a specific order) and so I cannot create a simple
one to many relationship.

So, I have a dive with lots of attributes. This is what I want to split,
the dive suit parts ... what they call pooled and non-pooled parts. It is
all still related to the regular dive info, but I can easily separate it.

That certainly sounds like a on (dive) to many (pieces) relationship - or more
likely a many to many, since I presume that a given suit piece will be used on
many dives. The appearance on the screen should certainly NOT drive your
decisions about table structure! I'd even consider using an unbound form with
VBA code to move data to and from normalized tables, before creating a
wide-flat design as you suggest. But it sounds like you have a handle on the
design and can do it either way: one hugely wide table (if it won't push up
against the 2000 bytes per record limit), or a normalized design (my
recommendation).
--

John W. Vinson [MVP]

.



Relevant Pages

  • Re: Use relationship or not?
    ... the dive suit parts ... ... many dives. ... wide-flat design as you suggest. ... against the 2000 bytes per record limit), or a normalized design (my ...
    (microsoft.public.access.modulesdaovba)
  • Re: Conceptual design advice for relational database
    ... violates the first rule of normalization. ... Get a copy of "Database Design for Mere Mortals" by Michael Hernandez. ... Access Database Samples: www.rogersaccesslibrary.com ... Want answers to your Access questions in your Email? ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Database Design & Normalization Question
    ... Products, Other Titles, Title Types. ... However, oftentimes bad design will kill performance, no matter ... Normalization would dictate that these dates would depend on the KEY, ... > didn't have to change the database design to store new ...
    (microsoft.public.sqlserver.server)
  • One giant leap for space fashion: MIT team designs sleek, skintight spacesuit (Forwarded)
    ... Elizabeth A. Thomson, MIT News Office ... Dava Newman, a professor of aeronautics and astronautics and engineering ... Newman is working on a sleek, advanced suit designed to allow superior ... Newman, her colleague Jeff Hoffman, her students and a local design firm, ...
    (sci.space.news)
  • Re: Poor table design?
    ... good stuff on normalization basics and table design, ... the contactId field in contacts and payments. ... >>Like S Jackson in DB Normalization post below, ... >queries and update queries to migrate the data into ...
    (microsoft.public.access.gettingstarted)