Solved

SQL: Convert dbase to sql

Posted on 2006-06-23
6
2,376 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Foreword This article was written many years ago, in the days when PHP supported the MySQL extension (http://php.net/manual/en/function.mysql-connect.php).  Today (http://php.net/manual/en/migration70.removed-exts-sapis.php) you would not use MySQL…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

729 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