Microsoft in the News
DBF to MySQL converter is a program to migrate FoxPro, DBase or Clipper (.dbf) databases to MySQL, MariaDB and Percona server. The program has high performance due to direct connection to source and destination databases (it does not use ODBC or any other middleware software). DBF files were one of the first database files with a header that allows programs that do not natively have knowledge of the data structure in a specific file, to read DBF files regardless. Thus, they can be opened in Microsoft Excel, OpenOffice Calc, and many other programs.
Sometimes the cure is worse than the disease. The recent attempts by Microsoft to fix the problems built into AMD and Intel chips is a good example.
Convert Dbf To Sql
By now, you have probably heard of the security threats called Meltdown and Spectre. They attacks flaws built into Intel and AMD microchips. Clearly, we aren’t all going to replace the chips in our computers. Even if we were willing or able to do so, it may be a long time before the hardware fix for these security threats are available.
The threat has been known for about a year now, but only recently was it made public via a Google blog site. When these flaws are exploited, things like passwords that are stored in the memory of running programs can be extracted. This can be done on PC’s, Mac’s, mobile devices, and in the cloud.
For a description of how these threats work, see: https://meltdownattack.com/
With a serious flaw like this, a software fix has to be rolled out in a hurry. Everyone knew that the fix was going to impact computer performance. But Microsoft’s cure seems to have killed some patients. Some AMD chip machines running Windows 10 have been bricked as a result of installing mandatory Windows updates.
As of January 10, Microsoft has pulled the potentially deadly cure.
Importing from dBase or other DBF files
I was recently tasked with the job of importing some dbase files into SQL. As usual, I get the work because it is not a straight forward task and so it requires a bit more specialized knowledge. In figuring out the issues, I thought others would benefit from this experience.
The following link is where Microsoft lets us know that the import wizard in SQL does not support imports from dBase or other DBF files.
And hence, I was called.
The key to making this work is to:
- Ensure you are using the correct drivers, and
- Set up SSIS correctly from the start.
So, step one, the driver you need can be found here: https://www.microsoft.com/en-us/download/details.aspx?id=14839. Download and install.
Step two, we set up the SSIS. I created all the tables to make this easier.
To create the control flow of the packages, do the following:
- To add a data flow task to the Package, drag and drop it on to the control flow
- Right click rename to change the name of the data flow task
- Double click on the data flow task to edit it
- Edit takes you to the data flow tab
- For each file you want to import, do the following;
- Drag in the source assistant
- Choose New in the Select connection managers
- In the Provider option at the top of the connection Manager choose;
- OLE DB Provider: Microsoft OLD DB Provider for Visual FoxPro
- Server or file name: lvappsdatasourcesExportDataQAExportsfilename.dbf
- Test Connection
- Ok
- Double click the OLE DB Source
- Choose the name of the table or view from the list in the drop down
- In the properties Tab be sure to change the field AlwaysUseDefaultCodePage to True as below.
- Drag in the source assistant
If you forget the above step you get this error:
Now add the Destination information
- Drag in the Destination Assistant
- Choose the <instancename><Database>.<table> Connection
- Dag and drop the Blue arrow to connect the source to the destination.
- Double click to open the OLE DB Destination
- Choose the name of the table or the view to want to load from the drop down.
- Choose ok.
Convert Dbf To Sql Online
To add to the complication of this import, issues crop up if you are running a 64 bit version of SQL. I’ll deal with that obstacle in my next blog.
Oracle To Sql Converter
Name | DBF | SQL |
Full name | Database File | |
File extension | .dbf | |
MIME type | ||
Developed by | dBASE | |
Type of format | Database | |
Description | The database management software dBASE used the DBF extension to save its standard database files. Due to the file format's popularity, dBASE is not the only database program that supports DBF files. Other 'xBASE' applications support the file format as well. This popularity is based on the easy to comprehend structure and the fact that DBF was one of the earliest files of its type that was adapted by the database community. | |
Technical details | The contents of a DBF file comprises of multiple sets data that are organized and stored in arrays. As a file format, DBF has been introduced in dBASE II. It has been used in the proceeding versions of dBASE III, III+ and IV. DBF files were one of the first database files with a header that allows programs that do not natively have knowledge of the data structure in a specific file, to read DBF files regardless. Thus, they can be opened in Microsoft Excel, OpenOffice Calc, and many other programs. | |
File conversion | DBF conversion | SQL conversion |
Associated programs | dBase, Microsoft Access 2016, Microsoft Excel 2016, Microsoft Visual FoxPro, Corel Quattro Pro X7, Apache OpenOffice, HiBase Group DBF Viewer 2000, Astersoft DBF Manager, DBF Viewer Plus, DBFView, Swiftpage Act!, Alpha Software Alpha Anywhere, Planamesa NeoOffice (Mac), GTK DBF Editor (Mac & Linux), multisoft FlagShip (Linux) | |
Wiki | https://en.wikipedia.org/wiki/DBase#File_formats |