I have a situation where each day I need to re-populate a master table with data from multiple databases. (Yes, perhaps replication would've been best but I inherited this mess and it's too late now.) I'm not sure the best way to do this, so I'm looking for some advice from the experts here.
Let me try explaining what I need to do by using simple example names.
Master database = dbMaster
Master table = tblServices
Site databases = dbSite01 thru dbSite10
Site tables = tblServices01 thru tblServices10
Reporting will be done out of dbMaster.tblServices, so a data refresh will need to be done on a daily basis. IOW, each day dbMaster.tblServices will need to be cleared and then dbSite01.tblServices01 thru dbSite10.tblServices10 all need to be appended to it.
What's the best way to make this happen? A simple append query in dbMaster? If so, how do I clear tblMaster first? And can any of this be automated and scheduled so it doesn't have to be done manually?
Thanks in advance for your suggestions,
Kerry
Let me try explaining what I need to do by using simple example names.
Master database = dbMaster
Master table = tblServices
Site databases = dbSite01 thru dbSite10
Site tables = tblServices01 thru tblServices10
Reporting will be done out of dbMaster.tblServices, so a data refresh will need to be done on a daily basis. IOW, each day dbMaster.tblServices will need to be cleared and then dbSite01.tblServices01 thru dbSite10.tblServices10 all need to be appended to it.
What's the best way to make this happen? A simple append query in dbMaster? If so, how do I clear tblMaster first? And can any of this be automated and scheduled so it doesn't have to be done manually?
Thanks in advance for your suggestions,
Kerry