G
george
Greetings to everybody,
I am currently working on a insurance project. I use table
tblPolicies with a triple primary key: BranchID, CompanyID
and PolicyID. Included in the table are also a few more
fields with policy details like IssuedOnDay, ExpiryDate,
RenewalDay, and YearlyPremium
These details are common for all policies regardless of
the Branch that the policy belongs to (ie Life Policies,
Motor Policies, Fire Policies etc). However there are some
other details pertaining to each policy which are Branch
specific and must be recorded separetely.
The obvious solution is to create many tables like
Life_PolicyDetails, Motor_PolicyDetails,
Fire_PolicyDetails etc to record all these Branch specific
details. However this impplies that everytime the client
introduces a new Branch I should have to intervene to the
db design to create a new What_PolicyDetails table for
this Branch and then relate it to the tblPolicies.Of
course this is not something desirable.
Is there a smarter solution to this situation? Thanks in
advance, george.
I am currently working on a insurance project. I use table
tblPolicies with a triple primary key: BranchID, CompanyID
and PolicyID. Included in the table are also a few more
fields with policy details like IssuedOnDay, ExpiryDate,
RenewalDay, and YearlyPremium
These details are common for all policies regardless of
the Branch that the policy belongs to (ie Life Policies,
Motor Policies, Fire Policies etc). However there are some
other details pertaining to each policy which are Branch
specific and must be recorded separetely.
The obvious solution is to create many tables like
Life_PolicyDetails, Motor_PolicyDetails,
Fire_PolicyDetails etc to record all these Branch specific
details. However this impplies that everytime the client
introduces a new Branch I should have to intervene to the
db design to create a new What_PolicyDetails table for
this Branch and then relate it to the tblPolicies.Of
course this is not something desirable.
Is there a smarter solution to this situation? Thanks in
advance, george.