简体   繁体   中英

Synchronize data between .dbf files and Sql Server 2005

I have a legacy appplication written in delphi. Database is stored in multiple .dbf files . I have to expose some pages in asp.net using SQL server 2005. Now i want to sync both of these databases.

How should i proceed.Please suggest.

Both applications should to have precise enough date field (timestamp in SQL, I don't recall specific in DBF). Everytime you update a field, you also update this field.

This way, to sync both databases you just need to compare record ID + date field to find records which needs to be updated.

This may be of interest: http://www.connectionstrings.com/dbf-foxpro

You may need to take account of records that have been marked for deletion but not packed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM