Solved

SQL: Convert dbase to sql

Posted on 2006-06-23
6
2,368 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
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Foreword This is an old article.  Instead of using the MySQL extension that was used in the original code examples, please choose one of the currently supported database extensions instead.  More information is available here: MySQLi / PDO (http://…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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