Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Structure

Discussion in 'Information Technology' started by Lana, Jul 28, 2006.

Tags:
  1. Lana

    Lana
    Expand Collapse
    Guest

    Hi all,

    Need an advice on structure of DB: I have 4 sets of data with relatively
    similar fields (but some fields of cause dont apply to other sets). I am
    thinking: shall i store them in the same table and make 4 querries or make 4
    different tables?

    What is the best way?

    Thank you.
    Lana
     
  2. Loading...

    Similar Threads Forum Date
    Structure Of The Guru Granth Sahib New to Sikhism May 30, 2016
    Heritage 16th-century Sikh Structures Identified For Preservation In Tarn Taran History of Sikhism Mar 10, 2015
    SciTech Meditation and Brain Structure Breaking News Jan 7, 2014
    World Toilet Trouble: New Technology and Infrastructures with Dr. Doulaye Kone Breaking News Oct 26, 2013
    General Management structure of Sikh religion and the preaching class. History of Sikhism Mar 30, 2013

  3. Larry Linson

    Larry Linson
    Expand Collapse
    Guest

    "Lana" wrote

    > Need an advice on structure of DB: I have
    > 4 sets of data with relatively similar fields
    > (but some fields of cause dont apply to
    > other sets). I am thinking: shall i store them
    > in the same table and make 4 querries or make 4
    > different tables?


    To give you any useful advice, I suspect we'd need quite a bit more detail.
    "Relatively similar fields" isn't very specific. If you could be more
    specific about the subject(s) of the data, and the content, it's likely
    someone might be able to make some worthwhile suggestions.

    Larry Linson
    Microsoft Access MVP
     
  4. Allen Browne

    Allen Browne
    Expand Collapse
    Guest

    If the fields are similar, chances are that they are instances of the same
    kind of entity, so it would be best to put them in the one table with an
    extra field to distinguish the entity type. The queries (based on the entity
    type) would then separate them as you suggest.

    There might be cases where that would not be the best solution, but as a
    generic answer to a generic question, that's my suggestion.

    As an example, the Northwind database, and you will see they have separate
    tables for customers, shippers, and employees. There would be some cases
    where you could consider using just one table for these entities.

    --
    Allen Browne - Microsoft MVP. Perth, Western Australia.
    Tips for Access users - http://allenbrowne.com/tips.html
    Reply to group, rather than allenbrowne at mvps dot org.

    "Lana" <Lana@discussions.microsoft.com> wrote in message
    news:C76EFAA2-7762-4367-8C22-F6EEE4D9A2E3@microsoft.com...
    >
    > Need an advice on structure of DB: I have 4 sets of data with relatively
    > similar fields (but some fields of cause dont apply to other sets). I am
    > thinking: shall i store them in the same table and make 4 querries or make
    > 4
    > different tables?
    >
    > What is the best way?
    >
    > Thank you.
    > Lana
     

Share This Page