I need to write a program or script which a client can run to do the following. I have an application which runs offline on multiple computers which is exactly the same but the data will differ. Let's call this SourceDB. Therefore, there is SourceDB1, SourceDB2, and SourceDB3.
Then there is a server which hosts the main application which has the exact same table structures..let's call this DB TargetDB.
I need to be able to take the data from SourceDB1 and append it to TargetDB. I need to be able to take data from Source DB2 and append it to TargetDB. Same goes for SourceDB3.
How can I do this? This is currently a MS SQL 2008 database.
Each time there worker brings in SourceDB1, I need him to be able to run a batch or a program which will export the data. Then he can copy that file, and run it on the server to import the data to TargetDB.
Any ideas?