Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 10th, 2003, 06:21 PM
0027634 0027634 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 1 0027634 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Database Design, HELP !

I'm currently trying to design a database for a website I'm creating but im running into a few problems. Hopefully someone can help!

I have a "Lecturers" table which contains all their details, email ,name etc and a "Modules" table which contains Module Codes and Title's etc. The core problem i'm having in trying to include different features for different modules.

Lets say I have one module that will have a news, a labs and a project feature(each of these features have their own separate tables aswell).

Do I create a table called "Module" with the fields, moduleCode,newsID,labID,projectID ?

I dont see how I can create a table of features, if each feature itself is a table with different fields to the next?

Any idea's of how I should approach this are much appreciated !

Reply With Quote
  #2  
Old November 20th, 2003, 01:47 AM
alam alam is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 67 alam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 57 m 17 sec
Reputation Power: 6
You might be in the similar Nested database structure situation
like what's listed in these forum:-
http://forums.devshed.com/t64446/s.html
http://forums.devshed.com/t74476/s.html

that's one of the way to solve your problem. However, you could use the way u suggested.
Module - moduleCode,newsID,labID,projectID

Pro:
- 'easier' to put data into your table
- Don't have to use very complex query to link several fields or many tables to obtain result.
(which Might reduce server load and faster access time)
- "save time on normalizing your tables"
- ..... etc

Con:
- Non-normalize table.
- Bigger storage space. (repeated records forfeited the meaning of RDBMS)
- ..... etc

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Database Design, HELP !


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT