Solved

SQL: Convert dbase to sql

Posted on 2006-06-23
6
2,351 Views
Last Modified: 2012-08-14
Hi:
After a little primer on SQL from Todd Farmer, I am wondering how software vendors convert a dbase database into SQl.  I work with the dbf's and mix them with Access but when this fellow was demonstrating his software, I asked how he accessed the dbf's.  He said they convert it to SQL.  

So, my questions are:
1.) How can one convert dbf to sql on a (almost) live basis?  I know White Town Software sells a converter but can it be done on the fly, instantly?
2.) Does the (1) conversion and the (2) querying occur sequentially in that order?

from the "Educating Charlie Project",

Charlie
0
Comment
Question by:cepes
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:mistaeverly
ID: 16974565
I'm not sure I entirely understand your question.  Dbase is a database, while SQL is a language.
I guess the question is, what are you trying to do with the "SQL" once you get it out of dbase?
0
 
LVL 9

Accepted Solution

by:
david_levine earned 250 total points
ID: 16978502
SQL is a language. Some folks also refer to MySQL or MS SQL Server as "SQL". Not sure what you are looking to convert. Best guess I can make is either to move from a dbase/Access database to a more high powered MySQL or SQL Server database, or you're looking to make an application less dependent on a specific database and more generic so it works with many databases on the backend.

Typically, in order to gain database independence, you either need to code SQL for each database you want your application to support, or use the most generic form of SQL to do insert, select, update and delete statements. The latter normally prevents you from taking advantage of any database specific features/functionality.
0
 

Author Comment

by:cepes
ID: 16979229
david_levine:
Sorry, I'm botching up the terminology.  I guess what the vendor I spoke to was doing was converting the dbase database to a SQL Server database.

Does that type of conversion take a lot of mapping?  I assume wonce the conversion method is set, the conversion can be done on a timed basis.

I'm nearing the end of my question!!!

Thanks

Charlie
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 9

Expert Comment

by:david_levine
ID: 16979269
Depends what is in dBase. If it's just the tables, then it's not a huge effort. If it's an application built in dBase, that is much more of an effort.
0
 

Author Comment

by:cepes
ID: 16983040
David:
It's just tables.  
0
 
LVL 9

Expert Comment

by:david_levine
ID: 16983421
There are tools to do it though I haven't yet found a free one. Most are commercial products with a free trial which limits the number of what can be converted. For example, there's http://www.convert-in.com/dbf2sql.htm or http://www.easyfrom.net/ and I'm sure others. Depending on the size of the tables and amount of data, it might just be quicker/cheaper to do it from scratch.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Introduction In this article, I will by showing a nice little trick for MySQL similar to that of my previous EE Article for SQLite (http://www.sqlite.org/), A SQLite Tidbit: Quick Numbers Table Generation (http://www.experts-exchange.com/A_3570.htm…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

19 Experts available now in Live!

Get 1:1 Help Now