I have a scenario where my source can be on different versions of our database as a result the in source file I could have different number of columns while my destination have defined number of columns. now what we are trying to do is:
load data from source to flat files. move them to central server and then load that data into central database. but if any column is missing in flat file i need to add derived column.
what is the best way to do this?? how can i dynamically add derived columns?