J
John
A question for "best practice" in database design
I use two tables for Jobcard info in my database. {tblJobCard} and
{tblJobDetails}.
tblJobDetails is used to store product info used on each job and uses a
field [fkTaxRateID ]to lookup one of two tax rates in {tblTaxRates}
applicable for the products used.
tblJobCard stores the labour cost for the job, which is taxed at the low
rate. This rate has remained unchanged for several years, but has changed in
the past and may change sometime in the future.
My question is, in order to allow for future changes should I insert a
field in the JobCard table to lookup the tax rate in tblTaxRate, even though
it is always the same rate.
Or is it ok to use the current rate for calculations and just adjust the
fields if and when necessary.
Thanks for any ideas on this one.
John
I use two tables for Jobcard info in my database. {tblJobCard} and
{tblJobDetails}.
tblJobDetails is used to store product info used on each job and uses a
field [fkTaxRateID ]to lookup one of two tax rates in {tblTaxRates}
applicable for the products used.
tblJobCard stores the labour cost for the job, which is taxed at the low
rate. This rate has remained unchanged for several years, but has changed in
the past and may change sometime in the future.
My question is, in order to allow for future changes should I insert a
field in the JobCard table to lookup the tax rate in tblTaxRate, even though
it is always the same rate.
Or is it ok to use the current rate for calculations and just adjust the
fields if and when necessary.
Thanks for any ideas on this one.
John