From: "Steven Tolleneer" <steevke@hotmail.com>
Subject: Re: some design questions
Date: 2000/06/23
Message-ID: <395359ba$0$12838@bru5-newsr1.be.uu.net>#1/1
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Trace: bru5-newsr1.be.uu.net 961763770 12838 194.7.95.147
X-MSMail-Priority: Normal
Newsgroups: comp.databases.theory


Hi,

I hope this is the right group, if it isn't, I would appreciate a pointer to
the correct group.

I have a database (Interbase 6) in which to store data regarding production,
parts, employees, customers etc.

After wading through some books regarding relational databases, I'm fairly
satisfied with the design I've come up with so far, except for one thing
that I don't really know how to model.

I have a table "Customers" which stores info about the customer such as
address, name, legal tax number, and so on. This customer receives the
invoice. This table is linked 1-n to "Cust_Warehouses" in which I store
information regarding the warehouses a particular customer has (address,
phone of the warehouse etc.).

However, I also have "Contacts" which stores information about contacts
(fairly obvious <grin>).

I would like to link the contact information to Customers (mandatory) and to
Cust_Warehouses (optional).

Is this 'acceptable' or should I use two tables, Cust_Contacts and
Cust_WareHouses_Contacts ?

I'd really appreciate any suggestions or tips you'd like to share.

TIA

Steven Tolleneer





