Unix Technical Forum

database design

This is a discussion on database design within the MySQL General forum forums, part of the MySQL category; --> hi all, after a little 'research' and consultation with friends, i come up with these tables for my database ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 08:30 AM
Hiep Nguyen
 
Posts: n/a
Default database design

hi all,

after a little 'research' and consultation with friends, i come up with
these tables for my database project.

table Item(ItemID,warehouse,ShapeID,weight,category,desc ription)
table Shape(ShapeID,physical shape)
table Dimension(DimensionID,dimension)
table ShapeDimension(ShapeDimensionID,ShapeID,DimensionI D)
table ItemShapeDimension(ItemID,ShapeDimensionID,value)

ItemID,ShapeID,DimensionID, and ShapeDimensionID are primary keys, auto
increment

Shape & Dimension are static tables

Shape: Round, Hex, Angle, Channel, Pipe,..etc.
Dimension: Diameter, Length, Width, Depth, Inner Diameter, Outer
Diameter...etc.

do you have any comment for this??? is there any potential structure
problem with these relationship?

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:04 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com