Hi,
I'm a very big problem, and I was lost a lot of hours try to solve that, and can't find a solution.
In this application, I have a SQL Compact database, for my comercial agents working "offline".
There are 6 agents, each of them with your local database.
The problem is:
- I need sincronize the databases when their at the office...
My central database are in Sql Server 2008 R2.
What I need, is upload to the server the new data, and download from the server the data from the others comercial agents.
The databases principal funtion, is a database of the clients, addres, personal contacts, etc..
But, how can I make an insert on the sql server, by making the SELECT from the sql compact?
If the database was the same, the SQL, WHERE NOT EXISTS work perfect.
The problem is, how can I write an SQL for different dabatases?
I'm a very big problem, and I was lost a lot of hours try to solve that, and can't find a solution.
In this application, I have a SQL Compact database, for my comercial agents working "offline".
There are 6 agents, each of them with your local database.
The problem is:
- I need sincronize the databases when their at the office...
My central database are in Sql Server 2008 R2.
What I need, is upload to the server the new data, and download from the server the data from the others comercial agents.
The databases principal funtion, is a database of the clients, addres, personal contacts, etc..
But, how can I make an insert on the sql server, by making the SELECT from the sql compact?
If the database was the same, the SQL, WHERE NOT EXISTS work perfect.
The problem is, how can I write an SQL for different dabatases?