You are on page 1of 5

DEFINE THE STRUCTURE OF DATABASE TABLE

EMPLOYEE. DBF
FIELD NAME TYPE WIDTH DEC
EMPIDNO N 10
EMPLAST C 15
EMPFIRST C 15
EMPMI C 2
EMPADD C 50
EMPCONTACT N 10
EMPDEPT C 5
DATA DICTIONARY EMPLOYEE. DBF
EMPIDNO refers to employee ID Number, system assigned (SA,PK)
EMPLAST refers to employee last name, character, size 15
EMPFIRST refers to employee first name, character, size 15
EMPMI refers to employee middle initial, character, size 2 example
DG/De Guzman
EMPADD refers to employee’s address, character, size 50
EMPCONTACT refers to employee contact number, numeric, size 10
DEPTNO refers to employee department number, character, size 5
DEPARTMENT.DBF
FIELD NAME TYPE WIDTH DEC
DEPTNO C 5
DEPTDESC C 25
DATA DICTIONARY FOR DEPARTMENT.DBF
DEPTNO refers to department number, character, width 5
DEPTDESC refers to department description, character, width 25
TIMESHEET.DBF
FIELD NAME TYPE WIDTH DEC
EMPIDNO N 10
DEPTNO C 5
DATEWORK D 8
TIMEIN N 8
TIMEOUT N 8
TYPEOFSCHED N 8
DATA DICTIONARY FOR TIMESHEET.DBF
EMPIDNO refers to employee ID Number, system assigned (SA,PK)
DEPTNO refers to department number, character, width 5
DATEWORK refers to the date of work, date, width 8
TIMEIN refers to time in of employee, numeric, width 8
TIMEOUT refers to time out of employee, numeric, width 8
TYPEOFSCHED refers to the schedule of employee, numeric, width 8
(01-AM,02-PM,03-BREAKTIME,04-OVERTIME,05-OFFICIALBUSINESS)

CUSTOMER. DBF
FIELD NAME TYPE WIDTH DEC
CUSTIDNO N 10
CUSTLAST C 15
CUSTFIRST C 15
CUSTMI C 2
CUSTADD C 50
CUSTCONTANCT N 10
DATA DICTIONARY FOR CUSTOMER.DBF
CUSTIDNO refers to customer ID number, numeric, width 10
CUSTLAST refers to customer LAST name, character, width 15
CUSTFIRST refers to customer FIRST name, character, width 15
CUSTMI refers to customer MIDDLE INITIAL, character, width 2
CUSTADD refers to customer’s ADDRESS, character, width 50
CUSTCONTANCT refers to customer’s contact number, numeric, width
10
PRODUCT. DBF
FIELD NAME TYPE WIDTH DEC
PRODIDNO N 10
PRODDESC C 50
PRODCOST N 12 2
PRODPRICE N 12 2
UNITMEAS C 12
QUANTITY N 12 2

SALESINV.DBF
FIELD NAME TYPE WIDTH DEC
S_INVNO N 10
CUSTNO N 10
QUANTITY N 12 2
PRICE N 12 2
TOTAL N 12 2
PRODPRICE at cost price of the product
PRODSRP

You might also like