G
Guest
These customers are then allocated a 'service' code such as A.3460, M.3460,
S.3460. These codes relate to our three services:
A - Alarms, M - Mobiles, S - Static.
Some customers use just 1 service where others might use 2 or even all 3
services. Also, some customers have more than one site so they can have any
variation of services at any of their sites that we work at. This is where
our current database falls flat as the structure is all wrong!
What do you think of the following design and based on the limited
information above, can it be improved?
"Tables"
EMPLOYEES
Simple table detailing employees names, addresses, training courses, bank
details, licence numbers etc. 1 record per employee.
SUPPLIERS
Simple table detailing supplier names, addresses, product/service provided.
1 record per supplier.
CUSTOMERS
Simple table detailing customer names, addresses. 1 record per customer.
SITES
Some customers (not all) have several sites with different names, addresses.
SERVICES (not sure how to do this bit, as some customers/sites use 1, 2 or
all 3 services. The details/fields will be different depending on the actual
service)
serviceAlarm - details relating to alarm response
servicePatrol - details relating to mobile patrols
serviceStatic - details relating to static security
I realise that I'm only at stage 1 of building the database but I am keen to
get this bit right before moving on to stage 2. Any suggestions would be
greatly appreciated![Smile :) :)](/styles/default/custom/smilies/smile.gif)
Thanks.
S.3460. These codes relate to our three services:
A - Alarms, M - Mobiles, S - Static.
Some customers use just 1 service where others might use 2 or even all 3
services. Also, some customers have more than one site so they can have any
variation of services at any of their sites that we work at. This is where
our current database falls flat as the structure is all wrong!
What do you think of the following design and based on the limited
information above, can it be improved?
"Tables"
EMPLOYEES
Simple table detailing employees names, addresses, training courses, bank
details, licence numbers etc. 1 record per employee.
SUPPLIERS
Simple table detailing supplier names, addresses, product/service provided.
1 record per supplier.
CUSTOMERS
Simple table detailing customer names, addresses. 1 record per customer.
SITES
Some customers (not all) have several sites with different names, addresses.
SERVICES (not sure how to do this bit, as some customers/sites use 1, 2 or
all 3 services. The details/fields will be different depending on the actual
service)
serviceAlarm - details relating to alarm response
servicePatrol - details relating to mobile patrols
serviceStatic - details relating to static security
I realise that I'm only at stage 1 of building the database but I am keen to
get this bit right before moving on to stage 2. Any suggestions would be
greatly appreciated
![Smile :) :)](/styles/default/custom/smilies/smile.gif)
Thanks.