Hi all,
I am struggling to find the best approach (pros and cons) to a table structure and I hope I can get some opinions!!
I have to record (and be able to update) monthly individual targets for New Business and Renewal to all our clients on our 6 products.
My first thought was:
tblTarget: targetID, clientID, month, year
tblProd1: prod1ID, targetNewBus, targetRenewal, targetID*
tblProd2: prod2ID, targetNewBus, targetRenewal, targetID*
etc... until tblProd6
* to link with tblTarget and in case of update I could search by using the targetID
or should I try:
tblTarget: targetID, clientID, month, year, prod1ID, prod2ID,..., prod6ID
tblProd1: prod1ID, targetNewBus, targetRenewal
tblProd2: prod2ID, targetNewBus, targetRenewal
etc... until tblProd6
or even:
tblTarget: targetID, clientID, month, year, newBusID, RenewalID
tblNewBus: newBusID, prod1Target, prod2Target, ..., prod6Target
tblRenewal: renewalID, prod1Target, prod2Target, ..., prod6Target
I know I could probably have it all in 1 table like:
tblTarget: targetID, clientID, month, year, prod1NB, prod1Ren, prod2NB, prod2RN, etc...
but it would become a bit too big to handle, would you agree!?
Please, can I have your views on it (preferably explaining the decision so I can learn out of it)?
Many thanks for your help
mane_uk
I am struggling to find the best approach (pros and cons) to a table structure and I hope I can get some opinions!!
I have to record (and be able to update) monthly individual targets for New Business and Renewal to all our clients on our 6 products.
My first thought was:
tblTarget: targetID, clientID, month, year
tblProd1: prod1ID, targetNewBus, targetRenewal, targetID*
tblProd2: prod2ID, targetNewBus, targetRenewal, targetID*
etc... until tblProd6
* to link with tblTarget and in case of update I could search by using the targetID
or should I try:
tblTarget: targetID, clientID, month, year, prod1ID, prod2ID,..., prod6ID
tblProd1: prod1ID, targetNewBus, targetRenewal
tblProd2: prod2ID, targetNewBus, targetRenewal
etc... until tblProd6
or even:
tblTarget: targetID, clientID, month, year, newBusID, RenewalID
tblNewBus: newBusID, prod1Target, prod2Target, ..., prod6Target
tblRenewal: renewalID, prod1Target, prod2Target, ..., prod6Target
I know I could probably have it all in 1 table like:
tblTarget: targetID, clientID, month, year, prod1NB, prod1Ren, prod2NB, prod2RN, etc...
but it would become a bit too big to handle, would you agree!?
Please, can I have your views on it (preferably explaining the decision so I can learn out of it)?
Many thanks for your help
mane_uk