Click here to Skip to main content
13,093,097 members (67,831 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi friends.

I need your help to synchronize data between two databases.

I have two database. D1 and D2
I want to synchronize data from D1 to D2. I have one table in same structure in both database named is "inventory". I create a SSIS package but when I run package data is copied from D1.Inventory to D2.Inventory.

I want it to be following way.

1. Old data should be cleared from D2.Inventory table and all data should be copied from D1.Inventory to D2.inventory.


2. Only those data should be updated that I specify(I don't know how do I specify by Query or any other way using date filters) so only needed records are updated from source table to destination table. [Don't know is it possible or not].

If any options from above is possible, please guide to accomplish my task. Any tutorial or reference link that will help me out.

Posted 11-Sep-11 21:12pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You can filter data before you tranfer it to other database. Here is the link where there is an good step wise step example.
* Data Flow Sources are ways that data gets into the system.
* Data Flow Transformations let you alter and manipulate the data in various ways. data flow transformations.
* Data Flow Destinations are the places that you can send the transformed data. flow destinations.[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 13 Sep 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100