Synchronize data between .dbf files and Sql Server 2005

前端 未结 2 1363
忘掉有多难
忘掉有多难 2021-01-26 07:52

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

相关标签:
2条回答
  • 2021-01-26 08:10

    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.

    0 讨论(0)
  • 2021-01-26 08:23

    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.

    0 讨论(0)
提交回复
热议问题