Solved

database sample

Posted on 2011-03-10
4
313 Views
Last Modified: 2012-05-11
Hi,

Please provide a sample database to deal with Raw Materials inventory and Bill Of Material.

Thanks

Ayha
0
Comment
Question by:ayha1999
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35098296
0
 
LVL 7

Author Comment

by:ayha1999
ID: 35111589
hi slightwv,

could u pls. clear some doubts?

I have a raw material named aluminium steel for eg. the thickness is 5mm lenght and width is 200cm x 200cm. How can I create stock table to store the quanity of al. sheets? If I recieve 2 sheets from a supplier, how can update the stock quantity in the stock table? another raw material's unit is diameter etc.

pls. hlep

thanks
0
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 250 total points
ID: 35111712
I'm not in an organization that has this type of data model so I can only speak to design theory.

The final design will be based on the requirements of the system accessing the data.

For example:  If you ever have to as a question form the database "How many inventory items do I stock made form aluminum?"

It might make sense to have a base 'material' table like:
material_content_id and material_content_desc
1, Steel
2, Aluminum
...

Then maybe another lookup, material_type:
mat_type_id, mat_type_desc
1, flat
2, tube
...

BUT, what if your system needs to track the different percentages of the base materials in your stock:  90% aluminum-10% tin, 80-20, 60-20-10-10, etc...

The design is a LOT different.

I always start by making a list of what I know:  Materials, application requirements, etc...

Then you just go through the 'Rules of Normalization':
http://en.wikipedia.org/wiki/Database_normalization

After you start getting comfortable with this process, you can actually start predicting questions that will 'eventually' be asked of the database and design form them ahead of time.

Management, Developers and/or System Analysts almost ALWAYS come to you with:  We just found out.  We need to extract 'X' from the database.  Can you handle that?

0
 
LVL 7

Author Closing Comment

by:ayha1999
ID: 35190692
thanks
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question