Trying to Import FoxPro DBF File to SQL Server

后端 未结 2 410
借酒劲吻你
借酒劲吻你 2020-12-18 14:32

As the title says, I\'m trying to import a FoxPro dbf file into sql server using openrowset. At first I tried to export the DBF to an xls file and import using the Import/Ex

相关标签:
2条回答
  • 2020-12-18 14:38

    Try using VFPOLEDB.1 as the provider. You may be experiencing driver version issues.

    0 讨论(0)
  • 2020-12-18 14:49

    Pat, you can use DBF Commander Pro for this task.

    Download it, install, then click File -> Export to DBMS. In the window appears click Build button in order to build the connection string: select MS OLEDB Provider for SQL Server, then choose your server from the list, provide login and password, select a database, click OK:

    enter image description here

    In the Export to DBMS window select the destination table you want to import source DBF file to, then click Export.

    More info on import and export DBF to a database you can find here.

    P.S. The app has fully functional free trial 20-days period.

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