If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Database design problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-02-05, 16:52
Wally_Lawless Wally_Lawless is offline
Registered User
 
Join Date: Nov 2003
Location: Ontario, Canada
Posts: 7
Question Database design problem

I'm working on a database system that will be using MS Access as the backend(not that it matters, just for information).

I have stumbled into a bit of a problem with my design, I have a table of Assets, for example and asset could be a PC, Monitor or copier. The problem is that each asset has a set of specifications, CPU/RAM for the PC, size for the monitor, color/b&w for the copier. Since each type of Asset has different fields for it's specs I am wondering what the ideal method would be for normalizing this database.

Thanks for your help.
Reply With Quote
  #2 (permalink)  
Old 03-02-05, 19:45
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
there should be a "main" table with common columns (id, name/descr, dateadded, etc.) and to relate to other entities (e.g. department "owns" asset, etc.)

then whether to have all the other columns in this table or whether each type should have its own separate table will depend on a number of factors

personally, i like the solution of just having one table

do a search for "subtype/supertype data model"
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On