Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Easy Sql question

Posted on 2004-10-28
Medium Priority
Last Modified: 2010-04-15
Hi experts!

I have a SQL database on a server machine.  I have some clients using MSDE that need a local copy of a big table.  Every day there are small changes to the big table.  What is the fastest way using c# to get the user's local copy in sync with the server copy?  

The table is about 200MB.  So I need to optimize the internet traffic as well.

Question by:OptionsMM
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

msdixon earned 1000 total points
ID: 12433998
you could add a LastUpdated column to the table with a trigger that updates the field every time it's updated, and in your msde copy create a lookup table (TableUpdates for instance) that includes the table name and last successfull update time. only get the records that were updated after the last update in the TableUpdates table.
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 1000 total points
ID: 12434559
See BOL for Replication
LVL 20

Expert Comment

ID: 12441845
Just make a replication between the servers. The problem is that you have to configure every local MSDE separaterly...

Expert Comment

ID: 12442130
Can the replication be setup through a installation setup? like a .msi?
LVL 20

Expert Comment

ID: 12442139
I don't think so....

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question