Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have main application which has the main database and branch application which has small its own database.

The branch application send the database to the main application (as a file), and I'm trying to make a way n which I read the information in the branch database and insert it in the main database to be able to be checked from the main application.

Simple example:
Employees work time and salaries, each branch has its own employees and salaries and information related to the employee. From time to time the branch application send the database file to the main application to be read. The main database should include all information from all branches's databases and we should be able to update information from time to time !!

Then what is the best way to implement that ?

I can't put the database over internet, and branches is so far from each other to be located on same network..

I'm using C#, Linq, with SQL Server 2008 ..

Thanks for your time ..
Posted

This is what SSIS is for, http://technet.microsoft.com/en-us/library/ms141026.aspx[^]

SSIS is not that hard to learn and comes with Sql and Visual Studio so you may already have access.
 
Share this answer
 
Comments
firas_hamzeh 30-Jul-14 9:25am    
It seems that SSIS is related only to SQL Server 2014 !!
And I told you I'm using 2008.
ZurdoDev 30-Jul-14 9:52am    
No, it has been around for a long time. Since 2005. In the link I sent you, there is a drop down labeled other versions. Just pick your version.
I think what i'd do is creating a webservice in the server,and make the secondary application to use it to update the main database. Think about it.
 
Share this answer
 
Comments
firas_hamzeh 30-Jul-14 9:26am    
The problem as I mentioned that I couldn't put the database on the internet server to be accessed by every body !!
Pikoh 30-Jul-14 10:10am    
Well,tecnically you database won't be in the internet. Just a webservice,with as many security as required. I can't see another way to do it,maybe using a vpn?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900