Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - DB Newbie Design Help
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DB Newbie Design Help

 Post Reply Post Reply
Author
jdumayas View Drop Down
Newbie
Newbie
Avatar

Joined: 19 February 2003
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote jdumayas Quote  Post ReplyReply Direct Link To This Post Topic: DB Newbie Design Help
    Posted: 20 February 2003 at 3:07pm

Thanks to this website, and the help I've received in the forums, databases with web interoperablity is looking much clearer.  I do have a design question that I can't seem to find the answer on, or the answers are not clear to me. 

The background for my DB is this; I'm developing a training database for video, audio and documents.  The application is Access with an ASP front end. 

The issue with design is that I have a one to multiple relationship between offerings (video, audio and documents),to technologies (subject classifications), and objectives (planning, operating..etc).  For example I have a document that covers operating and troubleshooting multiple pieces of equipment.

Here is an example of my table layout

tblofferings
offeringID, title, location 

tbltechonlogies
technologyID, technology 

tblobjectives
objectiveID, objectives 

The issue is being able to relate multiple technologies and objectives to one offering.  There is no maximum number of how many technologies and objectives that I can relate to each offering.  I've tried creating an offering table with a yes/no for each technology, the issue with this is that it would become a huge table, which doesn't even bring the objectives into account.  Another way would be to duplicate offerings with each one mapped to a the technologies that it requires.  That option doesn't seem to be a good design. 

Currently my offerings are at 300, technologies are approx 150, and the objectives are at 4. 

Any assistance would be greatly appreciated.  Thanks, Jeremy
Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2003 at 3:43pm
i'd make some "lookup tables" in between the Offering and Technology tables and also between the Offering and Objectives

So you would have:
tblTechnologyLookup
offeringID, technologyID


and

tblObjectiveLookup
offeringID, objectiveID


i use a DB schema like this all over the place across many websites i have done, it works beatifully
Contribute to the working anarchy we fondly call the Internet
Back to Top
jdumayas View Drop Down
Newbie
Newbie
Avatar

Joined: 19 February 2003
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote jdumayas Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2003 at 4:17pm

Hey Morning,

Thanks for your help!!!  That is what I was looking for.  It may be a bit tricky to do for set up, but when I get my front end for adding set up it will work like a charm.  I get to let my hair grow back.  Thanks again, Jeremy

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.