Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: table design for customer rates.
zubairpam_at_gmail.com wrote:
> currently, i'm using two techniques
>
> 1. each customer have seperate tables
Bad idea, this is not following a relational model.
> 2. two tables - one for (CourierType, TypeID)
> (DocFirstHalfKG, DocAddnHalfKG, ParFirstHalfKG, ParAddnHalfKG --> 01,
> 02, 03,04) corresponding
> second table :
> (TypeID, Countries(rows starting from A to Z all countries like
> Algeria,Argentina... Zimbawbe), CustomerID)
You need to identify the entities and elements of your business and do data normalization. Start with a logical model and derive a physical model from that. (Best tool is JDeveloper plus it is free) Entities: Couriers, Customers, Countries Attributes: Courier Type
> If i use the first one, the database increasing tremendously.
> In the case of another, many fields are blank.
Better to live with blank fields on few (manageable) tables than many small tables.
> I'm looking for any best solution to the above problem.
> Thanks in advance for your help.
See http://orafaq.com/faqdesgn.htm#NORMAL and follow links at the bottom of the page.
Regards
Bernard
Received on Thu Aug 17 2006 - 04:33:03 CDT
![]() |
![]() |