| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: ER design problem
I apologize for not being clear. I'm new at this.
> A record-of-call - what exactly is that?
When an outgoing call is made, my client wants to record the
characteristics of that call, such as date of call, time of call,
phone, project it belongs to., etc.
When a call belongs to a particular project, it will have defined
attributes, which calls belonging to a different project may not have.
The client also wants to record the attributes associated with the call
(see below for an example).
>Do you mean that every project calls once a day or that every call is about a new project?
Each outgoing call belongs to a particular project. A project may have
multiple calls a day.
>Hmm. Strange. Project A has NO business_type, project C has NO region
That is correct.
For example, calls for project A may have region values such as "East",
"West", "Central".
Calls for project D may have language values such as "English",
"French", "Spanish".
But, calls for project A would not have any language values and project
D would not have any region values.
I hesitate to make an entity that looks like:
Record-of-Call
ProjectID|Date|Time|Phone|Region|Language...
A|20060201|1200|1111111111|East| |... A|20060201|1400|2222222222|West| |... D|20060102|0700|3333333333| |French|... D|20060201|1100|4444444444| |Spanish|......
One suggestion pitched to me was
Record-of-Call
RecordID|ProjectID|Date|Time|Phone|...
1|A|20060201|1200|1111111111|... 2|A|20060201|1400|2222222222|... 3|D|20060102|0700|3333333333|... 4|D|20060201|1100|4444444444|...
ProjectA
ProjectD
I'm not sure if this is the best way to go, because every new project requires a new entity.
> Why? Can/should a current call associated with project A contain another region than > a previous call?
I'm not sure what you mean by this ... can you elaborate?
Thanks for you help. Received on Thu Feb 09 2006 - 14:08:38 CST
![]() |
![]() |