简体   繁体   中英

sync SQL CE with SQL Server

Hi can anyone suggest how to sync a table in sqlCE with a table in sql server.

I currently have a windows application which uses table X from SQL CE to add new records(a form data) and later when it is connected to network I will need it to update all those newly inserted records to the table Y(equal to table X in CE) in sql server.

The sql CE version is 4.0 and it is not connected to server all the time.The sync needs to be done when it is connected to server on a click event.

The sql server is 2012.

How do I achieve this

There are many ways of doing this; which way is best for you depends on things you have not told us, like what edition of SQL Server you are syncing with, whether the app is always connected to SQL Server, whether other apps are also syncing with the same database, and other issues.

I would start by investigating SQL CE Replication with SQL Server Web Syncronization . If that isn't what you want, come back with more detailed requirements.

Use Ms Sync Framework . It can do everything you need to solve this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM