Solved

how to import a dbase IV table to a sql server table

Posted on 2009-04-07
10
794 Views
Last Modified: 2013-11-24
Hi there,

I previously asked a question about how to import a dbase table to a sqlserver 2005 table.  I know you can use SSIS to import data in sql server, but I can't seem to find the ODBC driver for the DBASE IV database...so I can't realy import it right now.

Anyone have a detailled solution for this one?

Thanks in advance!
0
Comment
Question by:TheProgrammerAnalyst
  • 3
  • 3
  • 2
  • +1
10 Comments
 
LVL 41

Expert Comment

by:pcelba
ID: 24088125
Do you have ODBC driver for FoxPro database?
0
 

Author Comment

by:TheProgrammerAnalyst
ID: 24088902
No :-(

Here are the datasource list
- .NET Framework Data Provider for ODBC
- .Net Framework data provider for Oracle
- .Net framework data provider for sqlServer
- Flat file source
- MediaCatalog DB OLE DB Provider
- MediaCatalogMerged DB OLE DB Provider
- MediaCatalogWeb DB OLE DB Provider
- Microsoft Access
- Microsoft Excel
- Microsoft OLE DB Provider for Analysis Services 9.0
- Microsoft OLE DB Provider for Data Mining Services
- Microsoft OLE DB Provider for Internet Publishing
- Microsoft OLE DB Provider for  OLAP services 8.0
- Microsoft OLE DB Provider for Oracle
- Microsoft OLE DB Provider for Outlook Search
- Microsoft OLE DB Provider for SQL Server
- SQL Native Client
- SQLXMLOLEDB
- SQLXMLOLEDB 4.0

Nothing for dbase IV

0
 
LVL 41

Accepted Solution

by:
pcelba earned 500 total points
ID: 24088970
ODBC driver for Visual FoxPro is here http://msdn.microsoft.com/en-us/vfoxpro/bb190233.aspx
It should be sufficient for dBase IV if it has no memo fields (means just .DBF file not .DBT).
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 30

Expert Comment

by:nmcdermaid
ID: 24104009
Once you have installed the Visual FoxPro driver, use the
.NET Framework Data Provider for ODBC
and then refer to your FoxPro ODBC DSN
 
0
 
LVL 6

Expert Comment

by:BALMUKUND KESHAV
ID: 24128019
Here is an utility i have developed it for my foxpro/dbf to MySql table converter.
Change connection to your SQL connection, and try.

If this is helpful, you must give points to me.
Regards,

Bm Keshav

Dbf2Mysql.zip
0
 
LVL 6

Expert Comment

by:BALMUKUND KESHAV
ID: 24128027
Sorry i forget to mention username and password, which is as under :
user name = edp
pass=edpmgr

Regards,
Bm Keshav
0
 
LVL 30

Expert Comment

by:nmcdermaid
ID: 24128815
I believe he wishes to use SSIS, and he is pushing data into SQL Server, so that utility may not be so helpful.
0
 
LVL 41

Expert Comment

by:pcelba
ID: 24129294
I would say this is solved already. Some summary information follows:

dBase files are supported by following drivers:
Microsoft dBase Driver
Microsoft Access dBASE Driver
Microsoft dBase VFP Driver
Microsoft FoxPro VFP Driver
Microsoft FoxPro Driver
Microsoft Visual FoxPro Driver

Allmost all above drivers are just different names for the following DLLs:
VFPODBC.DLL, ODBCJT32.DLL

Note: dBase tables with compound MDX index files have problems sometimes.
0
 
LVL 6

Expert Comment

by:BALMUKUND KESHAV
ID: 24144660
You can export your dbf file to csv format, and csv file can be easily loaded into sql table. If you have problem in exporting using dbase/foxpro, open your dbf in excel and use saveas csv or xml.
try to work on this sol.

regards,

bm keshav
0
 

Author Comment

by:TheProgrammerAnalyst
ID: 24156425
Sorry everyone I did not reply sooner.  Was sick at home for the past few days.  I will check the solutions today and get back to you.

Thanks again!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

813 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

12 Experts available now in Live!

Get 1:1 Help Now