Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
how to compare schema and data of two different databases and synchronize the latest changes in target database through c shrap Code. Note: i'm working on Desktop Application with Sql Server 2014

Explanation: i'm working with Desktop application on visual studio 2013 and sql server 2014. i want my application to work with local database, but after a specific time i want to sync new entries OR new schema changes in remote database having the exact same schema as local database. I want solution in c# code. may be stored procedure can also helpful.


What I have tried:

nothing helpful materiel found yet
Posted
Updated 3-Oct-18 2:50am

1 solution

Getting a schema for an entire database (which I seriously doubt is what you really want) requires quite a bit of planning and code, especially if you also want to get all of the related database components associated with that database. The answer to your question is WHOLLY outside the scope of a Q&A question.

Instead of asking us to do it for you, do it yourself and when you get stuck, come back here with the code that is giving you problem, and ask about that single problem.
 
Share this answer
 

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