Importing FoxPro 2.6 for Dos into SQL Server 2000 using DTS.

Posted on 2004-11-17
Last Modified: 2012-05-05
Will it be possible to imort FoxPro 2.6 for Dos into SQL Server 2000 using DTS without any issues? Will existing drivers in SQL for FoxPro work or will I need something more?
Any help will be greatly appreciated!
Question by:Lizadiesel
    LVL 33

    Accepted Solution

    Since you're going from SQL Server to a FoxPro table (.dbf), you should have no real issues grabbing that data with existing drivers.  The later (latest) drivers support that older .dbf format.  Of course, I'm not entirely sure to what existing driver you're referring. If you make the assumption that a dBASE driver will work, well, it might and it might not.  Depending on what type of data is in the FoxPro table, the dBASE driver may not always work because the format could be different enough to make the driver throw errors.

    If you have a Visual FoxPro driver handy, you should have no issues whatsoever (as long as the data isn't corrupt).

    Visual FoxPro ODBC Driver
    LVL 4

    Assisted Solution

    The issue I've seen with FoxPro and DTS is you need to define a data source in the control panel or administrative tools (DSN) for it to work.  Since it's FP 2.6 you need to define it as a free table directory.

    If you use the generic Visual FoxPro Tables DSN it won't work.

    I think the other issue I've come across is SQL Server doesn't like empty date fields.  If you have date fields make sure you put a value.  You can always script it later in a data driven query step to replace 1/1/1900 with a null value or something.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Database tuning – How to start and what to tune. This question is frequently asked by many people, both online and offline. There is no hard and fast rule-of-thumb for performance tuning, however, before beginning the tuning process one should a…
    APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now