Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

database sample

Posted on 2011-03-10
4
Medium Priority
?
322 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 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 1000 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

688 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