sql - Transferring data from a database of unknown structure to a databases of known structure -


i have few challenges need on. need pull data in sql database arbitrary sources. details are: know exact structure of database , structure not change. when take in new data, occur 1 time, @ time set instance of database. make many instances of database , each time have pull data different source, , sources structured in different ways. data contain thousands of rows of records. data source held in excel, access, more rare word , rarer, it'll held in sql database. can assume of core data same, put in different locations. follow general grouping despite how there held. essentially, i'm transferring data legacy systems sql system , must done many groups , need own private instance of database. thoughts on how this? how hard write program of me?

this real-world question. possible write program of this? not of this, think, perhaps of it.

for each table in target system, create view displays source data expect able insert. choose column names make easy tell has done; you'll choose column names match target columns in insert statement. save insert statements stored procedures.

now, when given new source of data in new format, still have recreate views, once views displaying right data under chosen column names, can run stored procedures without change.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -