Article View: borland.public.delphi.database
Article #166Re: Help with Database choice
From: Jerry Von Korff
Date: Sun, 19 Aug 2007 00:51
Date: Sun, 19 Aug 2007 00:51
43 lines
3384 bytes
3384 bytes
Are licensing fees important? Have you a basic understanding of SQL? What operating systems are available? I've been migrating my Dbase application to MySql. There are going to be all sorts of people who are experts in the questions you are asking, perhaps I can offer a couple of thoughts from a sympathetic point of view as one just now going through the learning process. I looked at Interbase; I looked at Foxfire--the open source version, and I settled on MySql. I was looking for a low cost solution. Before you make the leap, you have to become really familiar with SQL. Working with an SQL server like MySql is not near as hard as it appears to be at first. But it takes some months of patient learning. The first step, at least for me, was to create a replica of some of your tables on your SQL server, and then to run some SQL queries on those tables, to get a feel for the difference between retrieving data from a flat file database and sql server. It is pointless to try to make the transition until you have a feel for what an SQL server does. The second step is to choose the connection system. Again, there are oodles of folks on this forum who can help you with that. I'm using MyDac, purchased from CoreLabs. They are a VCL based system that connects to MySQL as seemlessly as the BDE components connect to the BDE. Instead of Ttable you get TMyTable and instead of TQuery you get TMyQuery. Other tools work the same way. You can connect them to the same display components on your form (dbgrid, dbedit...). So your GUI runs just the same way. You are just collecting data for your dataset using SQL instead of opening the whole dang Ttable and navigating records. Now you have to get used to displaying the data that your user wants via SQL instead of the old way. It takes a couple of weeks of doodling until a light-bulb goes off, and then you are on your way. I transitioned my program form by form--or I should say am transitioning, by saving out the project form with SQL in the name: WpMain becomes WPSqlMain, and so on. Its a big job, but not impossible. You are going to need to develop a method of importing your data from the old program to the new. There are utilities, or you can write your own procedures to accomplish that objective. Good luck.
Technical Details
Message-ID:
<46C793F4.2040407@charter.net>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!hwmnpeer01.lga!news.highwinds-media.com!hw-filter.lga!newsfe04.lga.POSTED!53ab2750!not-for-mailReferences:
<1179471324.010461.240230@w5g2000hsg.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 115d96,fe7cb9bc604a4b23 X-Google-Attributes: gid115d96,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!hwmnpeer01.lga!news.highwinds-media.com!hw-filter.lga!newsfe04.lga.POSTED!53ab2750!not-for-mail Message-ID: <46C793F4.2040407@charter.net> From: Jerry Von Korff <Jvonkorff@charter.net> User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 Newsgroups: borland.public.delphi.database Subject: Re: Help with Database choice References: <1179471324.010461.240230@w5g2000hsg.googlegroups.com> In-Reply-To: <1179471324.010461.240230@w5g2000hsg.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 48 X-Trace: noffecneefnkbhgfbaignffdjoaiejcljbegbjboiiahlpbihgjcjamedpfgjepgfhnpjhlgaocdalilkiaglgfmbbmkjinmamagcehljjclppdmalnomjljkklkmakbenfnojecgjgcfcij NNTP-Posting-Date: Sat, 18 Aug 2007 17:51:04 MST Date: Sat, 18 Aug 2007 19:51:00 -0500