Question : Data Migration

Hi Expert,
I have a huge access database and Its adding/updating records daily into the database.
I created a DTS package that will bring the access data into SQL database  and execute some SQL task against SQL database and push the data back into Access database.
My Question:
 I dont want to bring the entire access database into SQL db, I am bringing only every day/current data and applying business logic to that current data and pushing back into access BUT I am facing problem when I am push back the SQL data into Access db its giving me an error as access data dont want to have duplicate data so how should I avoid this ???


Example:

Standard :Access database :table1,table2,table3,table4-------
           Number of Records  1000,1000,1000,1000

Day1 (increase data): Access database :table1,table2,table3,table4-------
                                   Number of Records  1100, 1200,  1100,   1150

PULL Data(from Access into SQL db)
               SQL Database: table1,table2,table3,table4
       Number of Records   100,     200,    100,   150

Executing some SQL task and then pushing back the data into Access

PUSH Data(from SQL db into Access db)

SQL Database: table1,table2,table3,table4
       Number of Records   100,     200,    100,   150

So finally Access database should have
Day1 : Access database :table1,table2,table3,table4-------
       Number of Records  1100,1200,1100,1150

But my problem is, as access database already exist with 100,     200,    100,   150 records in their corresponding tables (some are unique primary key which dont like to have duplicates) so its giving me problem to push back data into access.

Can you please advice me any solution ???

Answer : Data Migration

Assuming your daily data that you export to SQL is already in the huge Access db, I imagine you extract  the day data into a table and export.  When you get the data back from SQL, it cannot be appended to the Access table(s) as it is already there, abeit with different numbers.  You must use an update query.  Clearer?
Random Solutions  
 
programming4us programming4us