Sync interbase database tables to SQL Server Database using .Net - c#

I need to sync SQL server database with the Interbase DB. Interbase is the live DB and main application works on this. Now customer wants to create an SQL server database and sync it with the live interbase database once everyday. I want to create an application, which can be scheduled to compare both Interbase and SQL Server databases and merge the SQL Server with all changes from the Interbase Server. Is there any way to do this using c# .Net?

Have a look at the Microsoft Sync framework - it's designed to do what you want, though not sure if there's a plug in for Interbase.

Related

Easy way to keep two SQL Servers synced if you have read only access to publisher (source) of data

I am making C# app that rely on data from one old SQL Server 2005 machine.
Since I have only acces to read only data from that server, I need to build up some kind of handmade replication.
My app is going to use SQL Server 2012 and I am planing to read data from old SQL server in nightly tasks.
Before I start reinventing the well for sync data between two SQL Servers, I'll love to try to find some kind of library or system which can do the JOB.
Unfortunately I can't just setup replication between two SQL Servers because source of data is at SQL Server 2005 version and I do not have admin rights on that server.
I just need few tables to keep sync (updated) at my new SQL Server.
Is there some kind of embedded replication which can be called from code, and which have no needs for writing and admin access to publisher database?

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.

Synchronize data between two sql server 2008 database with ado.net sync framework

I have search but i can not get how to use ado.net sync framework.
can any body give me example code or samples ..or can share links that provide samples code of ado.net sync framework used for two sql server 2008 database Synchronization.
I did synchronization a while ago and I used following tutorials
Synchronizing SQL Server and SQL Express, although this one is between SQL Server and SQL Express but it will work just fine between two SQL Servers.
Solution of some problems I faced can be found here
Overview of how database synchronization works
In summary you need to do following
Provision Server database (only once)
Provision Client database (only once)
Do Synchronization

Creating database in other computer via code

I want my application to create database in the user's computer. The database would be simple, with only one table. Is this possible? What would be in the connection string? Should the user have installed some kind of server?
I suggest you take a look at SQL CE - it is an embedded database which you can distribute with your application.
Microsoft SQL Server Compact (SQL CE) is a compact relational database produced by Microsoft for applications that run on mobile devices and desktops.

Easy way to transfer schema from SQL Server database to SQL Server CE database?

I have a project that currently uses a SQL Server database on the shared hosting server that I pay for monthly. I want to migrate my schema from there to a new SQL Server CE database in my solution. Is there an easy way to do this?
I can't see a way to do this without manually re-creating the entire thing. It's a decently sized schema, but it's not very complicated. It's just tables with some foreign keys here and there, nothing fancy.
Anyone know how to migrate down from a regular SQL Server database to a SQL Server CE database?
http://exportsqlce.codeplex.com/
It can script SQL Server databases for running on CE.

Categories