logo search
Jack H

5. DATABASES

Databases are used to store various types of information in a manufacturing enterprise. For example, consider an inventory tracking system. A simple database might contain a simple list of purchased parts. Each part is a line in a database table, as shown in figure X.1. If a new inventory item is added, a new row is added to the table. If parts are added or removed to the inventory, the quantity value for one of the rows is changed. The total inventory cost can be calculated by multiplying the quantity and part costs together, and summing these for all rows. The tables are often designed to suit the way a particular business runs.

Number

Part

Quantity

Cost

Location

 

 

 

 

 

003450

1/2" Hex Nut

35

$0.023

Bin 5-42

003573

1/2" Hex Bolt

2467

$0.035

Bin 5-63

002365

5/8" Washer

395

$0.009

Bin 7-32

 

 

 

 

 

Figure X.1 - A Simple Inventory Table

A more complex database will be made up of many tables that relate items together. For example a more complex database might have separate tables for customer data, supplier data, purchased inventory, work in process, finished inventory, etc. The purchased inventory table might refer to a supplier number that identifies a supplier in the supplier table. The formal name for a database that uses related tables of information is ’relational’.