Welcome to SPN

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

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

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
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page