At the moment I have something like this:
tblRevenues
Comp____Country ____Period____P roduct____Reven ues
ABC_____Germany ____ 1H ______ Pr_1 ____ 125
ABC_____Germany ____ 1H ______ Pr_2 ____ 80
ABC_____France_ ____ 1H ______ Pr_1 ____ 9
ABC_____France_ ____ 1H ______ Pr_2 ____ 7
tblRisk
Comp____Country ____Period____R isk
ABC_____Germany ____ 1H ______ 40
ABC_____France_ ____ 1H ______ 10
What are the pros/cons if I design the tables following way:
tblRevAndRisk
Comp____Country ____Period____P roduct1____Prod uct2____Risk
ABC_____Germany ____ 1H ______ 125________ 80 ____ 40
ABC_____France_ ____ 1H ______ 9 ________ 7 ____ 10
Obviously with this design I would have much lower number of rows, and Risk and Revenues are both in just one table. But how much of an advantage is that?
Something tells me that I would have problems later with queries and reports, but I can't see at the moment what kind of problems I might have.
I'm actually transferring data from Excel that are in this format. I'm manually converting them to the first structure. I guess there should be a way to program it in VBA so that it would be done automatically, but it might take me more time to do that than to do it manually.
Thanks!
tblRevenues
Comp____Country ____Period____P roduct____Reven ues
ABC_____Germany ____ 1H ______ Pr_1 ____ 125
ABC_____Germany ____ 1H ______ Pr_2 ____ 80
ABC_____France_ ____ 1H ______ Pr_1 ____ 9
ABC_____France_ ____ 1H ______ Pr_2 ____ 7
tblRisk
Comp____Country ____Period____R isk
ABC_____Germany ____ 1H ______ 40
ABC_____France_ ____ 1H ______ 10
What are the pros/cons if I design the tables following way:
tblRevAndRisk
Comp____Country ____Period____P roduct1____Prod uct2____Risk
ABC_____Germany ____ 1H ______ 125________ 80 ____ 40
ABC_____France_ ____ 1H ______ 9 ________ 7 ____ 10
Obviously with this design I would have much lower number of rows, and Risk and Revenues are both in just one table. But how much of an advantage is that?
Something tells me that I would have problems later with queries and reports, but I can't see at the moment what kind of problems I might have.
I'm actually transferring data from Excel that are in this format. I'm manually converting them to the first structure. I guess there should be a way to program it in VBA so that it would be done automatically, but it might take me more time to do that than to do it manually.
Thanks!
Comment