Solved

SQL: Convert dbase to sql

Posted on 2006-06-23
6
2,359 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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction In this installment of my SQL tidbits, I will be looking at parsing Extensible Markup Language (XML) directly passed as string parameters to MySQL 5.1.5 or higher. These would be instances where LOAD_FILE (http://dev.mysql.com/doc/refm…
Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

919 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

18 Experts available now in Live!

Get 1:1 Help Now