M
mikael.lindqvist
Hi everyone,
Although I understand the basic principles on SQL database I'm
nevertheless stuck on how to make this one work in practice.
WHAT I'VE GOT
1. I've imported four tables (table1,,...,table4) from Excel to Access.
2. Each of the four tables share 3 common data (month, type1, type2).
3. Additionally there are some further "sharing" of three data "sets"
but it's not common for all 4 tables.
WHAT I'M TRYING TO DO
1. Build a complete database without any redundant data.
Since the spreadsheets are big (> 100,000 lines) I cannot make ONE
giant dataset and use Access' analyze tool to break out the redundant
fields.
SPECIFICALLY...
I have broken out "month" from each table - using the "analyze tool" -
(month1, month2, month3, month4), each is 1-N relationship with
table1,...,table4.
Now, I really need to "merge" this four tables (month1,...month4) into
one table that is 1-N relationship with table1,...,table4 ("month",
ie, jan-dec, is one of a few common data that binds together my
original four tables.
How do I do that? That is, re-arrange the month tables into one (I have
fiddled around a lot in the "relatins-window" but no luck).
If I was building the Access database from scratch (bottom-up) I'd
basically make 1 month table (jan, feb,...,dec) and then enter data.
Now I've got it the other way around; I have data and I need to break
it down to make it non-rendundant.
Any help as always appreciated (even more because none of my 2 books on
Access nor any online resource seem to cover this topic).
Cheers,
Mikael
Sweden
Although I understand the basic principles on SQL database I'm
nevertheless stuck on how to make this one work in practice.
WHAT I'VE GOT
1. I've imported four tables (table1,,...,table4) from Excel to Access.
2. Each of the four tables share 3 common data (month, type1, type2).
3. Additionally there are some further "sharing" of three data "sets"
but it's not common for all 4 tables.
WHAT I'M TRYING TO DO
1. Build a complete database without any redundant data.
Since the spreadsheets are big (> 100,000 lines) I cannot make ONE
giant dataset and use Access' analyze tool to break out the redundant
fields.
SPECIFICALLY...
I have broken out "month" from each table - using the "analyze tool" -
(month1, month2, month3, month4), each is 1-N relationship with
table1,...,table4.
Now, I really need to "merge" this four tables (month1,...month4) into
one table that is 1-N relationship with table1,...,table4 ("month",
ie, jan-dec, is one of a few common data that binds together my
original four tables.
How do I do that? That is, re-arrange the month tables into one (I have
fiddled around a lot in the "relatins-window" but no luck).
If I was building the Access database from scratch (bottom-up) I'd
basically make 1 month table (jan, feb,...,dec) and then enter data.
Now I've got it the other way around; I have data and I need to break
it down to make it non-rendundant.
Any help as always appreciated (even more because none of my 2 books on
Access nor any online resource seem to cover this topic).
Cheers,
Mikael
Sweden