How to import .dbf to sql

  • When I use the DBase drivers to import this I get an error stating that :

    Microsoft Jet Database Engine

    External tables not in expected format

    Context: error set OpenRowSet on Provider ....

    I get this on the Dbase 3,4, and 5 drivers.....

    I have tried the Visual Foxpro OLE DB driver but when I get to the point where I need to pick the source and the destination nothing shows on the screen...

    Ravi

  • raviq123 (2/12/2009)


    I have tried the Visual Foxpro OLE DB driver but when I get to the point where I need to pick the source and the destination nothing shows on the screen...

    Ravi

    ON what screen? Are these FoxPro free tables or a FoxPro database?

  • I was trying sql server 2000 import/export data utility and getting those messages. They are not free foxpro table, they are real table and some of those table can be imported without problem but not all, don't know.

  • What do you mean "real tables"

    Are these created with a VFP application?

  • What do you mean "real tables"

    real table means table created by dba or user.

    Are these created with a VFP application?

    Yes, these are created with Visual Fox Pro application.

  • U can download the driver from here and install it on ur system and while importing it to sql server u need to select that driver..

    Download & Install "Microsoft OLE DB Provider for Visual FoxPro 9.0" from...

    http://www.microsoft.com/downloads/details.aspx?familyid=e1a87d8f-2d58-491f-a0fa-95a3289c5fd4&displaylang=en

    Hope this helps.

    Thanks,

    Karen

  • raviq123 (2/12/2009)


    I was trying sql server 2000 import/export data utility and getting those messages. They are not free foxpro table, they are real table and some of those table can be imported without problem but not all, don't know.

    Let me explain a little more. For many years FoxPro only had tables without a method for creating relationships like Oracle, SQL Server, and Access had, then, I think sometime around VFP 6, databases were added which allowed you to directly create relationships, these files are .dbc files and they function more like a true database. So tables that have no related .dbc are called Free Tables.

    If you are working with a FoxPro database (.dbc) then the steps will be different than those for working with Free Tables.

    I have succesfully imported an entire FoxPro application's data structure (free tables) using the import/export wizard.

    Attached is a Word Doc with screen shots.

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply